Skip to content

Commit

Permalink
chore: target-version no longer needed by Black or Ruff (#2239)
Browse files Browse the repository at this point in the history
* Remove target-version from Black and Ruff metadata in pyproject.toml.
   - c.f. scientific-python/cookie#201
  • Loading branch information
henryiii authored Jul 3, 2023
1 parent 9dbdb7e commit 383a178
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ packages = ["src/pyhf"]

[tool.black]
line-length = 88
target-version = ['py38', 'py39', 'py310', 'py311']
skip-string-normalization = true
include = '\.pyi?$'
exclude = '''
Expand Down Expand Up @@ -295,7 +294,6 @@ ignore = [
"RUF001", # String contains ambiguous unicode character
"RUF005", # unpack-instead-of-concatenating-to-collection-literal
]
target-version = "py38"
src = ["src"]
typing-modules = ["pyhf.typing"]
unfixable = [
Expand Down

0 comments on commit 383a178

Please sign in to comment.