summaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2025-07-18 15:45:46 +0200
committerYuval Adam <_@yuv.al>2025-07-18 15:45:46 +0200
commitdd49c94bd313b3e77385bcdb9e911f7f2989a5ff (patch)
tree484e113a561adc3c946f31a3745e61adecac4317 /pyproject.toml
parentd0c73a92f27a652eaf925d880625a05ae211211d (diff)
migrate to pytest
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml79
1 files changed, 1 insertions, 78 deletions
diff --git a/pyproject.toml b/pyproject.toml
index da87567..5c6435d 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -6,22 +6,7 @@ build-backend = "hatchling.build"
name = "regflow"
version = "0.1.0"
description = "Domain registration and DNS management automation tool"
-authors = [
- {name = "User", email = "user@example.com"},
-]
requires-python = ">=3.8.1"
-classifiers = [
- "Development Status :: 3 - Alpha",
- "Intended Audience :: Developers",
- "License :: OSI Approved :: MIT License",
- "Operating System :: OS Independent",
- "Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3.8",
- "Programming Language :: Python :: 3.9",
- "Programming Language :: Python :: 3.10",
- "Programming Language :: Python :: 3.11",
- "Programming Language :: Python :: 3.12",
-]
dependencies = [
"requests>=2.31.0",
"python-dotenv>=1.0.0",
@@ -32,72 +17,10 @@ dependencies = [
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
- "black>=23.0.0",
- "isort>=5.12.0",
- "flake8>=6.0.0",
- "mypy>=1.0.0",
]
[project.scripts]
regflow = "domain_manager:main"
-[project.urls]
-Homepage = "https://github.com/user/regflow"
-Repository = "https://github.com/user/regflow"
-Issues = "https://github.com/user/regflow/issues"
-
-[tool.black]
-line-length = 88
-target-version = ['py38']
-include = '\.pyi?$'
-extend-exclude = '''
-/(
- # directories
- \.eggs
- | \.git
- | \.hg
- | \.mypy_cache
- | \.tox
- | \.venv
- | build
- | dist
-)/
-'''
-
-[tool.isort]
-profile = "black"
-multi_line_output = 3
-line_length = 88
-include_trailing_comma = true
-force_grid_wrap = 0
-use_parentheses = true
-ensure_newline_before_comments = true
-
-[tool.mypy]
-python_version = "3.8"
-warn_return_any = true
-warn_unused_configs = true
-disallow_untyped_defs = true
-disallow_incomplete_defs = true
-check_untyped_defs = true
-disallow_untyped_decorators = true
-no_implicit_optional = true
-warn_redundant_casts = true
-warn_unused_ignores = true
-warn_no_return = true
-warn_unreachable = true
-strict_equality = true
-
[tool.hatch.build.targets.wheel]
-packages = ["."]
-
-[tool.pytest.ini_options]
-testpaths = ["tests"]
-python_files = ["test_*.py", "*_test.py"]
-python_classes = ["Test*"]
-python_functions = ["test_*"]
-addopts = "-v --strict-markers"
-markers = [
- "slow: marks tests as slow (deselect with '-m \"not slow\"')",
- "integration: marks tests as integration tests",
-]
+packages = ["."] \ No newline at end of file