Skip to content

Commit

Permalink
initial
Browse files Browse the repository at this point in the history
  • Loading branch information
usernamedt committed Aug 24, 2023
0 parents commit 0f0f461
Show file tree
Hide file tree
Showing 116 changed files with 14,760 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[flake8]
select =
E, W, # pep8 errors and warnings
F, # pyflakes
C9, # McCabe
N8, # Naming Conventions
#B, S, # bandit
#C, # commas
#D, # docstrings
#P, # string-format
#Q, # quotes

ignore =
E122, # continuation line missing indentation or outdented
E123, # closing bracket does not match indentation of opening bracket's line
E127, # continuation line over-indented for visual indent
E131, # continuation line unaligned for hanging
E203, # whitespace before ':'
E225, # missing whitespace around operator
E226, # missing whitespace around arithmetic operator
E24, # multiple spaces after ',' or tab after ','
E275, # missing whitespace after keyword
E305, # expected 2 blank lines after end of function or class
E306, # expected 1 blank line before a nested definition
E402, # module level import not at top of file
E722, # do not use bare except, specify exception instead
E731, # do not assign a lambda expression, use a def
E741, # do not use variables named 'l', 'O', or 'I'

F722, # syntax error in forward annotation

W503, # line break before binary operator
W504, # line break after binary operator

max-line-length = 200
23 changes: 23 additions & 0 deletions .github/workflows/docker-jepsen.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Jepsen tests

on:
schedule:
- cron: '0 0 * * *'
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
test:
name: jepsen
runs-on: ubuntu-22.04
steps:
- name: Test
run: make jepsen

- uses: actions/upload-artifact@v3
if: failure()
with:
name: logs
path: tests/logs
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
*.pyc
*.swp
.tox/
*.egg-info/
htmlcov/
./Dockerfile
docker/zookeeper/zookeeper*.tar.gz
test_ssh_key*
.idea
junit_report/
logs/
venv/
.python-version
.mypy_cache
Loading

0 comments on commit 0f0f461

Please sign in to comment.