Skip to content

Commit 383a178

Browse files
authored
chore: target-version no longer needed by Black or Ruff (#2239)
* Remove target-version from Black and Ruff metadata in pyproject.toml. - c.f. scientific-python/cookie#201
1 parent 9dbdb7e commit 383a178

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pyproject.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ packages = ["src/pyhf"]
153153

154154
[tool.black]
155155
line-length = 88
156-
target-version = ['py38', 'py39', 'py310', 'py311']
157156
skip-string-normalization = true
158157
include = '\.pyi?$'
159158
exclude = '''
@@ -295,7 +294,6 @@ ignore = [
295294
"RUF001", # String contains ambiguous unicode character
296295
"RUF005", # unpack-instead-of-concatenating-to-collection-literal
297296
]
298-
target-version = "py38"
299297
src = ["src"]
300298
typing-modules = ["pyhf.typing"]
301299
unfixable = [

0 commit comments

Comments
 (0)