-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 0f0f461
Showing
116 changed files
with
14,760 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.