Skip to content

Commit

Permalink
package: Removes target-version from ruff; updates black target
Browse files Browse the repository at this point in the history
Closes #53

As per [RF002: Target version must be set](https://learn.scientific-python.org/development/guides/style#RF002) removes
`target-version` from `ruff` configuration.
  • Loading branch information
ns-rse committed Nov 20, 2024
1 parent aefd47d commit 8a6ad54
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ omit = [

[tool.black]
line-length = 120
target-version = ['py38']
target-version = ['py39']
exclude = '''
(
Expand Down Expand Up @@ -171,7 +171,6 @@ exclude = [
]
# per-file-ignores = []
line-length = 120
target-version = "py310"
lint.select = [
"A", # flake8-builtins
"B", # flake8-bugbear
Expand Down

0 comments on commit 8a6ad54

Please sign in to comment.