summaryrefslogtreecommitdiffstats
path: root/third_party/python/aiohttp/setup.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/python/aiohttp/setup.cfg')
-rw-r--r--third_party/python/aiohttp/setup.cfg93
1 files changed, 93 insertions, 0 deletions
diff --git a/third_party/python/aiohttp/setup.cfg b/third_party/python/aiohttp/setup.cfg
new file mode 100644
index 0000000000..2f528bc49f
--- /dev/null
+++ b/third_party/python/aiohttp/setup.cfg
@@ -0,0 +1,93 @@
+[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
+