mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-17 04:34:37 +03:00
pyproject.toml: add mypy and pytest config
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
name = "aqtinstall"
|
||||
description = "Another unofficial Qt installer"
|
||||
readme = "README.rst"
|
||||
license = { text = "MIT License"}
|
||||
license = {text = "MIT License"}
|
||||
authors = [
|
||||
{name = "Hiroshi Miura", email = "miurahr@linux.com"},
|
||||
]
|
||||
@@ -68,7 +68,7 @@ docs = [
|
||||
|
||||
[project.urls]
|
||||
Documentation = "https://aqtinstall.readthedocs.io/"
|
||||
Bug_Tracker = "https://github.com/miurahr/aqtinstall/issues"
|
||||
"Bug Tracker" = "https://github.com/miurahr/aqtinstall/issues"
|
||||
Wiki = "https://github.com/miurahr/aqtinstall/wiki"
|
||||
Source = "https://github.com/miurahr/aqtinstall"
|
||||
Changelog = "https://github.com/miurahr/aqtinstall/blob/master/CHANGELOG.rst"
|
||||
@@ -114,6 +114,24 @@ force_grid_wrap = 0
|
||||
use_parentheses = true
|
||||
ensure_newline_before_comments = true
|
||||
|
||||
[tool.mypy]
|
||||
warn_redundant_casts = true
|
||||
warn_unused_ignores = true
|
||||
strict_optional = true
|
||||
show_column_numbers = true
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
minversion = "6.0"
|
||||
testpaths = ["tests"]
|
||||
python_files = "test*.py"
|
||||
norecursedirs = [".git", "_build", "tmp", ".eggs"]
|
||||
timeout = 480
|
||||
markers = [
|
||||
"unit: mark a test as an unit test.",
|
||||
"enable_socket : mark a test with enabling socket.",
|
||||
"remote_data: mark a test with remote data.",
|
||||
]
|
||||
|
||||
[tool.tox]
|
||||
legacy_tox_ini = """
|
||||
[tox]
|
||||
|
||||
Reference in New Issue
Block a user