Skip to content
Commits on Source (2)
...@@ -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
......
[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",
] ]
......