Skip to content

Commit

Permalink
update flake8 config
Browse files Browse the repository at this point in the history
  • Loading branch information
wleepang committed Jun 12, 2024
1 parent aceae99 commit 130107b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion omics/cli/rerun/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def get_runs(logs, runs, opts):
# Get runs in time range
rqst = {
"logGroupName": "/aws/omics/WorkflowLog",
"logStreamNamePrefix": f"manifest/run/",
"logStreamNamePrefix": "manifest/run/",
}
streams.extend(get_streams(logs, rqst, opts))
runs = [stream_to_run(s) for s in streams]
Expand Down
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@
ignore = E501, # E501 is line length. Let Black deal with this (sometimes it can't split lines).
E203, # whitespace before ‘:’ (https://black.readthedocs.io/en/stable/compatible_configs.html#flake8)
D100,D104, # don't require module or package-level docstrings
D400, # ignore first line punctuation
per-file-ignores =
# don't require docstrings in tests
tests/*:D101,D102,D103,D107
# public type aliases are used but flake8 doesn't know it
omics_tools/data_transfer/__init__.py:F401
# ignore docstring here
omics/cli/run_analyzer/__main__.py:D103

[mypy]
# Re-enable 'attr-defined' and 'arg-type' after refactoring the way call_args are passed in
Expand Down

0 comments on commit 130107b

Please sign in to comment.