Skip to content
Myr

setup.cfg

This file

Path

setup.cfg

37 lines · 953 bytes

Last changed by

Add mypy flags (#2472)Adrian Garcia Badaraccobefore adoption1fc6a52

History of this file

Take it

The walk stopped after 200 commits: lines older than 8c64e0c point at it.

Inline SERVER_SCOPE and remove typing_extensions requirement (#1773)Michał Górnybefore adoption8c64e0c

line 1why, one step back
1[flake8]

Bump flake8-pie from 0.5.0 to 0.15.0 (#1879)dependabot[bot]before adoptionfa03b48

line 2why, one step back
2ignore = W503, E203, B305, PIE801

Inline SERVER_SCOPE and remove typing_extensions requirement (#1773)Michał Górnybefore adoption8c64e0c

lines 3–6why, one step back
3max-line-length = 120
45[mypy]6disallow_untyped_defs = True

Typing: always fill in generic type parameters (#2468)Adrian Garcia Badaraccobefore adoption1b4e7fb

line 7why, one step back
7disallow_any_generics = True

Inline SERVER_SCOPE and remove typing_extensions requirement (#1773)Michał Górnybefore adoption8c64e0c

line 8why, one step back
8ignore_missing_imports = True

Switch to explicit `typing.Optional` throughout (#2096)Michael Oliverbefore adoption14a1704

lines 9–10why, one step back
9no_implicit_optional = True
10show_error_codes = True

Add mypy flags (#2472)Adrian Garcia Badaraccobefore adoption1fc6a52

lines 11–16why, one step back
11warn_unused_configs = True
12disallow_subclassing_any = True13check_untyped_defs = True14disallow_untyped_decorators = True15warn_redundant_casts = True16strict_concatenate = True

Inline SERVER_SCOPE and remove typing_extensions requirement (#1773)Michał Górnybefore adoption8c64e0c

lines 17–29why, one step back
17
18[mypy-tests.*]19disallow_untyped_defs = False20check_untyped_defs = True2122[tool:isort]23profile = black24combine_as_imports = True2526[tool:pytest]27addopts = -rxXs28filterwarnings =29 error

Bump pytest-asyncio from 0.16.0 to 0.18.3 (#2198)dependabot[bot]before adoption132ccd9

line 30why, one step back
30asyncio_mode = strict

Inline SERVER_SCOPE and remove typing_extensions requirement (#1773)Michał Górnybefore adoption8c64e0c

lines 31–32why, one step back
31markers =
32 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 setup

Add a network pytest mark for tests that use the network (#1669)Antonio Larrosabefore adoption77193b2

line 33why, one step back
33 network: marks tests which require network connection. Used in 3rd-party build environments that have network disabled.

Inline SERVER_SCOPE and remove typing_extensions requirement (#1773)Michał Górnybefore adoption8c64e0c

lines 34–37why, one step back
34
35[coverage:run]36omit = venv/*, httpx/_compat.py37include = httpx/*, tests/*