summaryrefslogtreecommitdiff
path: root/setup.cfg
blob: 1f4274c19ea060087f2bb77fc2788ded8b517aa8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[bdist_wheel]
universal = 1

[metadata]
description = Persistent cache for requests library
long_description = file: README.md, HISTORY.md
long_description_content_type = text/markdown
keywords = requests, http, cache, persistence, sqlite, redis, mongodb, gridfs, dynamodb
license = BSD License
license_files = LICENSE
classifiers =
    Development Status :: 4 - Beta
    Intended Audience :: Developers
    License :: OSI Approved :: BSD License
    Topic :: Software Development :: Libraries :: Python Modules
    Natural Language :: English
    Programming Language :: Python :: 3
    Programming Language :: Python :: 3.6
    Programming Language :: Python :: 3.7
    Programming Language :: Python :: 3.8
    Programming Language :: Python :: 3.9

[flake8]
max_line_length = 120
select = E,F,W,C4,C90
exclude = __pycache__,.tox,build,dist,test,venv
# Defer these rules to black:
ignore =
    E225  # missing whitespace around operator
    E501  # line too long
    W503  # line break before binary operator
    W504  # line break after  binary operator

# Show 7 lines of context in debugger
[ipdb]
context = 7

# Tell mypy to ignore external libraries without type annotations
[mypy]
ignore_missing_imports = True