Skip to content
Myr

Move configuration of tools to pyproject.toml (#2686)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Bartosz Sokorski · committed by GitHub · parent 746eaef · Browse files · 3 files+27 added−23 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Co-authored-by: Tom Christie <tom@tomchristie.com>

Diff stats

3 files+27 added−23 removed

  • other:+27 added−23 removed

3 files+27 added−23 removed

modified:pyproject.toml+26 added
modified:requirements.txt+1 added-1 removed
18 unmodified lines
19twine==4.0.22021# Tests & Linting22black==23.3.023coverage==7.2.223coverage[toml]==7.2.224cryptography==40.0.225mypy==1.0.126types-certifi==2021.10.8.227pytest==7.2.2
5 unmodified lines
deleted:setup.cfg-22 removed
1[mypy]2ignore_missing_imports = True3strict = True45[mypy-tests.*]6disallow_untyped_defs = False7check_untyped_defs = True89[tool:pytest]10addopts = -rxXs11filterwarnings =12 error13 ignore: You seem to already have a custom sys.excepthook handler installed. I'll skip installing Trio's custom handler, but this means MultiErrors will not show full tracebacks.:RuntimeWarning14 # See: https://github.com/agronholm/anyio/issues/50815 ignore: trio\.MultiError is deprecated since Trio 0\.22\.0:trio.TrioDeprecationWarning16markers =17 copied_from(source, changes=None): mark test as copied from somewhere else, along with a description of changes made to accodomate e.g. our test setup18 network: marks tests which require network connection. Used in 3rd-party build environments that have network disabled.1920[coverage:run]21omit = venv/*, httpx/_compat.py22include = httpx/*, tests/*