clan-cli: drop unused mypy overrides for gi

This commit is contained in:
Jörg Thalheim
2023-11-23 18:01:10 +01:00
parent 7369978218
commit ce1ad9f8c2

View File

@@ -1,20 +1,18 @@
[build-system]
requires = [ "setuptools" ]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "clan-cli"
description = "cLAN CLI tool"
dynamic = [ "version" ]
dynamic = ["version"]
scripts = { clan = "clan_cli:main" }
[tool.setuptools.packages.find]
exclude = ["clan_cli.nixpkgs*"]
[tool.setuptools.package-data]
clan_cli = [ "config/jsonschema/*", "webui/assets/**/*"]
clan_cli = ["config/jsonschema/*", "webui/assets/**/*"]
[tool.pytest.ini_options]
testpaths = "tests"
@@ -23,7 +21,7 @@ log_level = "DEBUG"
log_format = "%(levelname)s: %(message)s\n %(pathname)s:%(lineno)d::%(funcName)s"
addopts = "--cov . --cov-report term --cov-report html:.reports/html --no-cov-on-fail --durations 5 --color=yes --new-first" # Add --pdb for debugging
norecursedirs = "tests/helpers"
markers = [ "impure", "with_core" ]
markers = ["impure", "with_core"]
[tool.mypy]
plugins = ["deal.mypy"]
@@ -38,11 +36,6 @@ exclude = "clan_cli.nixpkgs"
module = "argcomplete.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "gi.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "jsonschema.*"
ignore_missing_imports = true
@@ -62,5 +55,5 @@ ignore_missing_imports = true
[tool.ruff]
line-length = 88
select = [ "E", "F", "I", "N"]
ignore = [ "E501", "E402" ]
select = ["E", "F", "I", "N"]
ignore = ["E501", "E402"]