Skip to content
GitLab
Explore
Sign in
Commits on Source (2)
Disable flake8-bugbear B011 check
· 1cb65397
Dom Sekotill
authored
Apr 05, 2024
1cb65397
Remove workaround for flit issue #476
· dfd8da90
Dom Sekotill
authored
Apr 05, 2024
dfd8da90
Hide whitespace changes
Inline
Side-by-side
.flakerules.toml
View file @
dfd8da90
...
@@ -103,6 +103,11 @@ flake8-bugbear = [
...
@@ -103,6 +103,11 @@ flake8-bugbear = [
# Would be nice if could take into account use as a non-mutable type
# Would be nice if could take into account use as a non-mutable type
"-B006"
,
"-B006"
,
# DISABLE "Do not call assert False since python -O removes these calls.
# Instead callers should raise AssertionError()."
# Like… no duh. Thats why I use assert.
"-B011"
,
# DISABLE "release is an empty method in an abstract base class, [...]"
# DISABLE "release is an empty method in an abstract base class, [...]"
# Until abstract methods are optional, empty optional "abstract" methods
# Until abstract methods are optional, empty optional "abstract" methods
# stay
# stay
...
...
pyproject.toml
View file @
dfd8da90
[build-system]
[build-system]
requires
=
[
"flit_core ~=3.
2
"
]
requires
=
[
"flit_core ~=3.
8
"
]
build-backend
=
"flit_core.buildapi"
build-backend
=
"flit_core.buildapi"
[project]
[project]
...
@@ -11,9 +11,7 @@ license = {file = "LICENCE.txt"}
...
@@ -11,9 +11,7 @@ license = {file = "LICENCE.txt"}
readme
=
"README.md"
readme
=
"README.md"
dynamic
=
[
"version"
,
"description"
]
dynamic
=
[
"version"
,
"description"
]
# https://github.com/pypa/flit/issues/476
requires-python
=
"~
=
3.9
"
requires-python
=
">
=
3.9
,
<
4
"
dependencies
=
[
dependencies
=
[
"jinja2"
,
"jinja2"
,
]
]
...
...