Skip to content

Commit

Permalink
exclude _version.py from pyright and flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
fzakaria committed Sep 22, 2023
1 parent dac34af commit 3ea0348
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ profile = "black"
addopts = ""

[tool.pyright]
include = ["sqlelf", "tests"]
exclude = ["**/__pycache__"]
exclude = ["**/__pycache__", "sqlelf/_version.py"]

reportMissingImports = true
reportMissingTypeStubs = true
useLibraryCodeForTypes = true

pythonVersion = "3.10"
pythonPlatform = "Linux"
include = ["sqlelf", "tests"]
4 changes: 3 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[flake8]
extend-ignore = E203
max-line-length = 88
max-line-length = 88
exclude =
_version.py

0 comments on commit 3ea0348

Please sign in to comment.