fune/third_party/python/aiohttp/setup.cfg
Mitchell Hentges a1ee478054 Bug 1725708: Move all possible vendored deps to centralized system r=ahal
Note that, as part of adding this packages to the automated vendoring
system, some dependencies were automatically added - most notably,
dependencies of `taskcluster` that become visible with Python 3.6+.

Also, adds `**/.git` to the exclusions because:
* `.git` is part of our `.hgignore`, but
* `.git` is part of the `aiohttp` `tar.gz` file.

Since the file isn't needed for `pip install`-ing `aiohttp`,
and since we want `./mach vendor python` to be a no-op when there's
no requirement changes, we exclude it.

Differential Revision: https://phabricator.services.mozilla.com/D123122
2021-09-09 18:18:51 +00:00

93 lines
1.8 KiB
INI

[aliases]
test = pytest
[metadata]
license_file = LICENSE.txt
[pep8]
max-line-length = 79
[easy_install]
zip_ok = false
[flake8]
ignore = N801,N802,N803,E203,E226,E305,W504,E252,E301,E302,E704,W503,W504,F811
max-line-length = 88
[isort]
line_length = 88
include_trailing_comma = True
multi_line_output = 3
force_grid_wrap = 0
combine_as_imports = True
known_third_party = jinja2,pytest,multidict,yarl,gunicorn,freezegun,async_generator
known_first_party = aiohttp,aiohttp_jinja2,aiopg
[report]
exclude_lines =
@abc.abstractmethod
@abstractmethod
[coverage:run]
branch = True
source = aiohttp, tests
omit = site-packages
[tool:pytest]
addopts = --cov=aiohttp -v -rxXs --durations 10
filterwarnings =
error
ignore:module 'ssl' has no attribute 'OP_NO_COMPRESSION'. The Python interpreter is compiled against OpenSSL < 1.0.0. Ref. https.//docs.python.org/3/library/ssl.html#ssl.OP_NO_COMPRESSION:UserWarning
junit_suite_name = aiohttp_test_suite
norecursedirs = dist docs build .tox .eggs
minversion = 3.8.2
testpaths = tests/
junit_family = xunit2
xfail_strict = true
[mypy]
follow_imports = silent
strict_optional = True
warn_redundant_casts = True
warn_unused_ignores = True
check_untyped_defs = True
disallow_any_generics = True
disallow_untyped_defs = True
[mypy-pytest]
ignore_missing_imports = true
[mypy-uvloop]
ignore_missing_imports = true
[mypy-tokio]
ignore_missing_imports = true
[mypy-async_generator]
ignore_missing_imports = true
[mypy-aiodns]
ignore_missing_imports = true
[mypy-gunicorn.config]
ignore_missing_imports = true
[mypy-gunicorn.workers]
ignore_missing_imports = true
[mypy-brotli]
ignore_missing_imports = true
[mypy-chardet]
ignore_missing_imports = true
[mypy-cchardet]
ignore_missing_imports = true
[mypy-idna_ssl]
ignore_missing_imports = true
[egg_info]
tag_build =
tag_date = 0