|
|
|
@ -11,9 +11,9 @@ def main():
|
|
|
|
|
info += ' %s %s:' % (k, kwargs[k])
|
|
|
|
|
print('line %i:%s %s' % (line, info, msg))
|
|
|
|
|
if os.environ.get('GITHUB_ACTIONS'):
|
|
|
|
|
print('::error file=docs/Authors.rst,line=%i::%s %s' % (line, info.lstrip(), msg))
|
|
|
|
|
print('::error file=docs/about/Authors.rst,line=%i::%s %s' % (line, info.lstrip(), msg))
|
|
|
|
|
success[0] = False
|
|
|
|
|
with open('docs/Authors.rst', 'rb') as f:
|
|
|
|
|
with open('docs/about/Authors.rst', 'rb') as f:
|
|
|
|
|
lines = list(map(lambda line: line.decode('utf8').replace('\n', ''), f.readlines()))
|
|
|
|
|
|
|
|
|
|
if lines[1].startswith('='):
|
|
|
|
|