Skip to content

Commit

Permalink
actually don't check stub files with black
Browse files Browse the repository at this point in the history
  • Loading branch information
trvto committed Aug 30, 2023
1 parent 053bbff commit 0148992
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
8 changes: 2 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
[tool.black]
# ignore auto generated qasm include definitions
exclude = '''
/(
pytket/pytket/qasm/includes
)/
'''
# ignore auto generated qasm include definitions, installed packages, auto-generated stubfiles
exclude = 'pytket/pytket/qasm/includes|^.+\.pyi$'
3 changes: 0 additions & 3 deletions pytket/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm>=6.4", "conan>=2.0", "cmake>=3.26"]
build-backend = "setuptools.build_meta"

[tool.black]
exclude = '.+\.pyi' # exclude type stubs from formatting

0 comments on commit 0148992

Please sign in to comment.