Подтвердить трек 2 реальными сбоями, нагрузкой и отчётом

This commit is contained in:
2026-11-20 07:05:16 +03:00
parent 42bf6aa702
commit ef1f470659
43 changed files with 11538 additions and 30 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ def main():
assert not path.startswith('secrets/') and path != '.env', 'Tracked private state'
content = (ROOT / path).read_bytes()
assert not any(value and value in content for value in secret_values), 'Local secret leaked in ' + path
assert b'-----BEGIN PRIVATE KEY-----' not in content, 'Private key found'
assert (b'-----BEGIN ' + b'PRIVATE KEY-----') not in content, 'Private key found in ' + path
authors = git(ROOT, 'log', '276dbda..HEAD', '--format=%h|%an|%ae|%cn|%ce').splitlines()
for row in authors:
assert row.split('|')[1:] == ['Sergey Lyakhonov', 'lyserg119@gmail.com'] * 2, 'Wrong author/committer'