Skip to content

Commit

Permalink
Add pylint config
Browse files Browse the repository at this point in the history
  • Loading branch information
artursmet committed Oct 5, 2022
1 parent 7c9f2ec commit 4d113b6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,5 @@ jobs:
- uses: codecov/codecov-action@v1
- name: Linters
run: |
pylint prices tests setup.py
mypy prices --ignore-missing-imports
black --check .
pylint prices setup.py
mypy prices --ignore-missing-imports
9 changes: 9 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[MASTER]
ignore=snapshots
load-plugins=pylint.extensions.bad_builtin, pylint.extensions.mccabe

[MESSAGES CONTROL]
disable=C0103, C0111, C0209, C0412, I0011, R0101, R0801, R0901, R0902, R0903, R0912, R0913, R0914, R0915, R1260, W0231, W0621, W0703

[SIMILARITIES]
ignore-imports=yes

0 comments on commit 4d113b6

Please sign in to comment.