Skip to content

Commit

Permalink
feat(ignores): ignore specific linting errors
Browse files Browse the repository at this point in the history
Ignore linting errors in source code in this PR. The purpose of this PR
is to update linting tools. A future PR will correct the errors. This is
done to separate concerns.
  • Loading branch information
adamgranthendry committed Jun 28, 2022
1 parent a07f259 commit 7162d28
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ exclude =
pyvistaqt/rwi.py,
# Only lint source files
tests/*.py,
docs/*.py
docs/*.py,
# Ignore errors here in this commit (fix in future PR)
pyvistaqt/*.py,
setup.py
max-complexity = 10
doctests = true
extend-ignore =
Expand Down
3 changes: 2 additions & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ fail-under=10
# paths.
ignore=rwi.py,
conf.py,
conftest.py
conftest.py,
setup.py # ignore and fix in future PR

# Add files or directories matching the regex patterns to the blacklist. The
# regex matches against base names, not paths.
Expand Down
1 change: 1 addition & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[mypy]
ignore_errors = True
disallow_untyped_defs = True

[mypy-vtk.*]
Expand Down

0 comments on commit 7162d28

Please sign in to comment.