Skip to content

Commit

Permalink
fix: exclude _version.py from linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jericht committed Sep 20, 2023
1 parent 33f75b6 commit daec460
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ignore_missing_imports = true
namespace_packages = true
explicit_package_bases = true
mypy_path = "src"
exclude = (?x)(
^_version.py$ # Ignore generated _version.py files
)

[[tool.mypy.overrides]]
module = [
Expand Down

0 comments on commit daec460

Please sign in to comment.