pyproject.toml: add mypy and pytest config
@@ -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]
