Skip to content
Myr

setup.cfg

This file

Path

setup.cfg

39 lines · 1012 bytes

Last changed by

Typing: enable disallow_incomplete_defs (#2476)Martijn Pietersbefore adoption049afe5

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

Remove and dissallow unused type ignores (#2470)Adrian Garcia Badaraccobefore adoption69e13cb

line 11why, one step back
11warn_unused_ignores = True

Add mypy flags (#2472)Adrian Garcia Badaraccobefore adoption1fc6a52

lines 12–17why, one step back
12warn_unused_configs = True
13disallow_subclassing_any = True14check_untyped_defs = True15disallow_untyped_decorators = True16warn_redundant_casts = True17strict_concatenate = True

Typing: enable disallow_incomplete_defs (#2476)Martijn Pietersbefore adoption049afe5

line 18why, one step back
18disallow_incomplete_defs = True

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

lines 19–31why, one step back
19
20[mypy-tests.*]21disallow_untyped_defs = False22check_untyped_defs = True2324[tool:isort]25profile = black26combine_as_imports = True2728[tool:pytest]29addopts = -rxXs30filterwarnings =31 error

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

line 32why, one step back
32asyncio_mode = strict

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

lines 33–34why, one step back
33markers =
34 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 35why, one step back
35 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 36–39why, one step back
36
37[coverage:run]38omit = venv/*, httpx/_compat.py39include = httpx/*, tests/*