test(tools): fix mypy linters
This commit is contained in:
parent
9de82bb568
commit
e862e9f280
|
@ -28,7 +28,7 @@ def test_load_packages():
|
||||||
assert load_packages(PACKAGE_INI, "focal", True, ["legacy"]) == result_exclude
|
assert load_packages(PACKAGE_INI, "focal", True, ["legacy"]) == result_exclude
|
||||||
|
|
||||||
|
|
||||||
def test_list_packages(tmp_path: Path):
|
def test_list_packages(tmp_path: Path) -> None:
|
||||||
package_file = tmp_path / "packages.ini"
|
package_file = tmp_path / "packages.ini"
|
||||||
package_file.write_text(PACKAGE_INI)
|
package_file.write_text(PACKAGE_INI)
|
||||||
|
|
||||||
|
|
|
@ -9,8 +9,6 @@ disable = [
|
||||||
[tool.mypy]
|
[tool.mypy]
|
||||||
allow_redefinition = true
|
allow_redefinition = true
|
||||||
disallow_incomplete_defs= true
|
disallow_incomplete_defs= true
|
||||||
disallow_untyped_calls= true
|
|
||||||
disallow_untyped_defs= true
|
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["setuptools", "wheel"]
|
requires = ["setuptools", "wheel"]
|
||||||
|
|
Loading…
Reference in New Issue