forked from Wavyzz/py-healthchecks.io
feat: add python 3.11 support (#392)
* feat: add python 3.11 support - adds testing for python 3.11 - moves from black and flake8 to ruff for linting - Updates coverage output from tests * fix: fix dev dependency group * fix: add installing dev dependencies * ci: add toml * ci: simplify coverage * ci: update coverage
This commit is contained in:
@@ -31,37 +31,29 @@ httpx = ">=0.23.0,<0.24.0"
|
||||
croniter = "^1.1.0"
|
||||
pytz = ">=2021.3,<2023.0"
|
||||
|
||||
[tool.poetry.dev-dependencies]
|
||||
[tool.poetry.group.dev.dependencies]
|
||||
pytest = "^7.2.1"
|
||||
coverage = {extras = ["toml"], version = "^7.1"}
|
||||
safety = "^2.3.5"
|
||||
mypy = "^1.0"
|
||||
typeguard = "^2.13.2"
|
||||
xdoctest = {extras = ["colors"], version = "^1.1.1"}
|
||||
sphinx = "^4.3.2"
|
||||
sphinx-autobuild = ">=2021.3.14"
|
||||
pre-commit = "^2.21.0"
|
||||
flake8 = "^4.0.1"
|
||||
black = ">=21.10b0"
|
||||
flake8-bandit = "^3.0.0"
|
||||
flake8-bugbear = ">=21.9.2"
|
||||
flake8-docstrings = "^1.7.0"
|
||||
flake8-rst-docstrings = "^0.3.0"
|
||||
pep8-naming = "^0.13.2"
|
||||
darglint = "^1.8.1"
|
||||
reorder-python-imports = "^3.9.0"
|
||||
pre-commit-hooks = "^4.4.0"
|
||||
Pygments = "^2.14.0"
|
||||
pyupgrade = "^3.3.1"
|
||||
furo = ">=2021.11.12"
|
||||
pytest-cov = "^4.0.0"
|
||||
types-croniter = "^1.3.2"
|
||||
types-pytz = "^2022.7.1"
|
||||
pytest_async = "^0.1.1"
|
||||
pytest-asyncio = "^0.20.3"
|
||||
respx = "^0.20.1"
|
||||
pytest-mock = "^3.10.0"
|
||||
pytest-lazy-fixture = "^0.6.3"
|
||||
pytest-xdist = "^3.2.0"
|
||||
ruff = "^0.0.249"
|
||||
bandit = "^1.7.4"
|
||||
|
||||
[tool.coverage.paths]
|
||||
source = ["src", "*/site-packages"]
|
||||
@@ -87,10 +79,9 @@ show_error_context = true
|
||||
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
||||
[tool.poetry-dynamic-versioning]
|
||||
enable = true
|
||||
vcs = "git"
|
||||
dirty = true
|
||||
[tool.pytest.ini_options]
|
||||
addopts = "-n 4 --ignore examples --cov=healthchecks_io --cov-report xml:.coverage.xml --cov-report=term-missing --cov-fail-under 91"
|
||||
|
||||
[tool.poetry-dynamic-versioning.substitution]
|
||||
files = ["src/healthchecks_io/__init__.py"]
|
||||
[tool.ruff]
|
||||
line-length = 120
|
||||
target-version = "py37"
|
||||
|
||||
Reference in New Issue
Block a user