Skip to content

Commit

Permalink
Correct the pyproject.toml black configuration ... (#340)
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrl-schaff and jschaff authored Jun 14, 2024
1 parent 7fe2947 commit 1fec955
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
[tool.black]
line-length = 120
target-version = ['py36', 'py37', 'py38', 'py39', 'py310']
extend-exclude = [
extend-exclude = '''
# A regex preceded with ^/ will apply only to files and directories
# in the root of the project.
(
# 3rd party code, don't touch
"biothings/utils/jsondiff.py",
"biothings/utils/jsonpatch.py",
Expand All @@ -11,7 +14,8 @@ extend-exclude = [
"biothings/utils/shelve.py",
"biothings/hub/dataload/sync.py",
"biothings/hub/dataload/validator.py",
]
)
'''

[tool.isort]
profile = "black"
Expand Down

0 comments on commit 1fec955

Please sign in to comment.