mirror of
https://github.com/andreinechaev/nvcc4jupyter.git
synced 2026-06-13 18:50:47 +05:30
Move flake8 config from toml to .flake8 as flake8 does not play nice with pyproject.toml and add pre-commit hook for flake8
This commit is contained in:
@@ -85,28 +85,6 @@ experimental-string-processing = true
|
||||
[tool.coverage.run]
|
||||
branch = true
|
||||
|
||||
[tool.flake8]
|
||||
max-line-length = 79
|
||||
select = "F,E,W,B,B901,B902,B903"
|
||||
exclude = [
|
||||
".eggs",
|
||||
".git",
|
||||
".tox",
|
||||
"nssm",
|
||||
"obj",
|
||||
"out",
|
||||
"packages",
|
||||
"pywin32",
|
||||
"tests",
|
||||
"swagger_client"
|
||||
]
|
||||
ignore = [
|
||||
"E722",
|
||||
"B001",
|
||||
"W503",
|
||||
"E203"
|
||||
]
|
||||
|
||||
[tool.pyright]
|
||||
include = ["src"]
|
||||
exclude = [
|
||||
|
||||
Reference in New Issue
Block a user