Skip to content

Commit

Permalink
fix pylint and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronDavidSchneider committed Oct 12, 2023
1 parent 3a47487 commit d1e175e
Show file tree
Hide file tree
Showing 11 changed files with 390 additions and 167 deletions.
13 changes: 13 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[flake8]
ignore = E203, E266, E501, W503, F403, F401
max-line-length = 79
max-complexity = 18
select = B,C,E,F,W,T4,B9
exclude =
.git,
__pycache__,
doc/source/conf.py,
old,
build,
dist,
tests/*.py
2 changes: 1 addition & 1 deletion .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ jobs:
pip install pylint
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py') --fail-under=9.5 --ignore-paths=doc,tests,oapc_mixer/patches --disable=R0913,R0914,C0415,E0401,E0402,C0103,C0301,R0902,C0209
pylint opac_mixer/utils/*.py opac_mixer/*.py --fail-under=9.5 --disable=R0913,R0914,C0415,E0401,E0402,C0103,C0301,R0902,C0209
Loading

0 comments on commit d1e175e

Please sign in to comment.