Skip to content

Commit 72be8b5

Browse files
committed
Update tool config in pyproject.toml
1 parent c8ae928 commit 72be8b5

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

pyproject.toml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Example configuration for Black.
44
[tool.black]
55
line-length = 120
6-
target-version = ['py311']
6+
target-version = ['py312']
77
skip-string-normalization = true
88

99

@@ -34,26 +34,19 @@ ignore-words-list = "dne, compiletime"
3434

3535

3636
[tool.ruff]
37-
target-version = "py38"
37+
target-version = "py312"
3838
line-length = 120
3939
# Enable Pyflakes `E` and `F` codes by default.
4040
select = [
4141
"E", "W", # see: https://pypi.org/project/pycodestyle
4242
"F", # see: https://pypi.org/project/pyflakes
4343
"I", # isort
44-
# "D", # see: https://pypi.org/project/pydocstyle
45-
# "N", # see: https://pypi.org/project/pep8-naming
4644
"RUF100", # unnecessary noqa comment
4745
"UP", # pyupgrade
4846
]
49-
#extend-select = [
50-
# "C4", # see: https://pypi.org/project/flake8-comprehensions
51-
# "SIM", # see: https://pypi.org/project/flake8-simplify
52-
# "RET", # see: https://pypi.org/project/flake8-return
53-
# "PT", # see: https://pypi.org/project/flake8-pytest-style
54-
#]
5547
ignore = [
5648
"E731", # Do not assign a lambda expression, use a def
49+
"Q" # Ignore quotes
5750
]
5851
# Exclude a variety of commonly ignored directories.
5952
exclude = [

0 commit comments

Comments
 (0)