mirror of
https://github.com/django/daphne.git
synced 2025-03-12 19:35:47 +03:00
update to remove flake8 settings
This commit is contained in:
parent
cf2406a90c
commit
ed1e2bd85c
12
.flake8
Normal file
12
.flake8
Normal file
|
@ -0,0 +1,12 @@
|
|||
[flake8]
|
||||
exclude =
|
||||
"venv/*",
|
||||
".venv/*",
|
||||
"tox/*",
|
||||
"docs/*",
|
||||
"testproject/*",
|
||||
"js_client/*",
|
||||
".eggs/*",
|
||||
|
||||
extend-ignore = E123, E128, E266, E402, W503, E731, W601, B036
|
||||
max-line-length = 120
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -33,3 +33,5 @@ test_consumer*
|
|||
# pytest-cov code coverage
|
||||
.coverage
|
||||
.coverage.**
|
||||
|
||||
.codegpt
|
|
@ -50,6 +50,10 @@ issues = "https://github.com/django/daphne/issues"
|
|||
[project.scripts]
|
||||
daphne = "daphne.cli:CommandLineInterface.entrypoint"
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[tool.setuptools]
|
||||
packages = ["daphne"]
|
||||
|
||||
|
@ -57,18 +61,6 @@ packages = ["daphne"]
|
|||
version = { attr = "daphne.__version__" }
|
||||
readme = { file = "README.rst", content-type = "text/x-rst" }
|
||||
|
||||
[tool.flake8]
|
||||
exclude = [
|
||||
"venv/*",
|
||||
"tox/*",
|
||||
"docs/*",
|
||||
"testproject/*",
|
||||
"js_client/*",
|
||||
".eggs/*",
|
||||
]
|
||||
extend-ignore = ["E123", "E128", "E266", "E402", "W503", "E731", "W601", "B036"]
|
||||
max-line-length = 120
|
||||
|
||||
[tool.isort]
|
||||
profile = "black"
|
||||
|
||||
|
@ -87,10 +79,3 @@ skip_covered = "true"
|
|||
|
||||
[tool.coverage.html]
|
||||
directory = "reports/coverage_html_report"
|
||||
|
||||
[tool.tox]
|
||||
envlist = ["py39", "py310", "py311", "py312", "py313"]
|
||||
|
||||
[tool.tox.testenv]
|
||||
extras = ["tests"]
|
||||
commands = ["pytest -v {posargs}"]
|
||||
|
|
Loading…
Reference in New Issue
Block a user