-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
actually don't check stub files with black
- Loading branch information
Showing
2 changed files
with
2 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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$' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |