Skip to content

Commit

Permalink
Exclude _version.py from linting
Browse files Browse the repository at this point in the history
Remove redundant black exclusions.
  • Loading branch information
sbliven committed Nov 28, 2023
1 parent 18af4e3 commit e9bda9d
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,31 +58,16 @@ docs = [

[tool.black]
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
# The following are specific to Black, you probably don't want those.
| blib2to3
| tests/data
)/
'''
extend_exclude = 'pyscicat/_version.py'

[tool.isort]
profile = "black"
skip_glob = ["__pycache__", "pyscicat/_version.py"]

[tool.hatch]
version.source = "vcs"
build.hooks.vcs.version-file = "pyscicat/_version.py"

[tool.mypy]
# TODO Add type annotations and include this file
exclude = "pyscicat/hdf5/scientific_metadata.py"
exclude = ["pyscicat/_version.py", "pyscicat/hdf5/scientific_metadata.py"]

0 comments on commit e9bda9d

Please sign in to comment.