Skip to content

Commit

Permalink
Ignore generated file in pyright check (#195)
Browse files Browse the repository at this point in the history
Pyright is checking files generated by setuptools_scm which have
outdated annotations in them. This file doesn't need checking so I have
included an ignore for it.
  • Loading branch information
abbiemery authored Sep 26, 2023
1 parent b9163d5 commit aa4eef1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ write_to = "src/tickit/_version.py"

[tool.pyright]
reportMissingImports = false # Ignore missing stubs in imported modules
ignore = ["src/tickit/_version.py"]

[tool.isort]
float_to_top = true
Expand Down

0 comments on commit aa4eef1

Please sign in to comment.