Skip to content

Commit

Permalink
junk
Browse files Browse the repository at this point in the history
  • Loading branch information
wallentx committed Sep 27, 2024
1 parent eb08e86 commit 7e0ebfd
Showing 1 changed file with 10 additions and 18 deletions.
28 changes: 10 additions & 18 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -150,21 +150,18 @@ build-backend = "poetry_dynamic_versioning.backend"
[tool.black]
line-length = 120
target-version = ['py38', 'py39', 'py310', 'py311', 'py312']
#include = '''
#^/(
# [^/]*.py
# | (benchmarks|build_scripts|chia|tests|tools)/.*\.pyi?
#)$
#'''
#exclude = ''
include = '''
^/(
[^/]*.py
| (benchmarks|build_scripts|chia|tests|tools)/.*\.pyi?
)$
'''
exclude = ''

[tool.ruff]
line-length = 120
# Replacing extend-allow-list
#builtins = [
# "lxml",
# "zstd"
#]
builtins = ["*.lxml","*.zstd"]

[tool.ruff.lint]
preview = true
Expand All @@ -183,7 +180,8 @@ ignore = [
"E501", # line-too-long (handled by black)
"E203" # whitespace before ':'
]
# No rule for:

# No rules for:
# "PLR0902", # too-many-instance-attributes
# "PLW0613", # unused-argument
# "PLW0612", # unused-variable
Expand All @@ -195,17 +193,11 @@ ignore = [
# "PLC0115", # missing-class-docstring
# "PLC0114", # missing-module-docstring



# No direct replacement for ignore-imports; consider handling specific rules

[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "F403"]

[tool.ruff.lint.pep8-naming]
ignore-names = ["i", "j", "k", "ex", "Run", "_"]
extend-ignore-names = ["foo", "bar", "baz", "toto", "tutu", "tata"]

[tool.ruff.lint.pylint]
max-args = 5
max-locals = 15
Expand Down

0 comments on commit 7e0ebfd

Please sign in to comment.