1
0
mirror of https://github.com/gryf/boxpy.git synced 2026-01-15 19:24:12 +01:00

Fix some linting issues.

Also, changing workflow for image downloading fails.
This commit is contained in:
2024-11-17 19:26:53 +01:00
parent 81ab5de7c4
commit eeebab74ad
2 changed files with 82 additions and 54 deletions

View File

@@ -24,6 +24,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only"
]
dependencies = [
@@ -45,3 +46,25 @@ version = {attr = "box.__version__"}
[tool.distutils.bdist_wheel]
universal = true
[tool.ruff]
line-length = 79
indent-width = 4
[tool.ruff.lint]
extend-select = [
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"E", # pycodestyle
"F", # pyflakes
"FA", # flake8-future-annotations
"G", # flake8-logging-format
"N", # pep8-naming
"PGH", # pygrep-hooks
"PIE", # flake8-pie
"RET", # flake8-return
"SIM", # flake8-simplify
"UP", # pyupgrade
"W", # pycodestyle
"YTT", # flake8-2020
]