forked from safe-global/safe-eth-py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
115 lines (102 loc) · 2.74 KB
/
setup.cfg
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
[metadata]
name = safe-eth-py
version = 5.8.0
description = Safe Ecosystem Foundation utilities for Ethereum projects
long_description = file: README.rst
long_description_content_type = text/x-rst; charset=UTF-8
keywords =
ethereum
web3
django
safe
cowswap
gnosis
url = https://github.com/safe-global/safe-eth-py
author = Uxío
author_email = [email protected]
license = MIT License
license_files =
LICENSE
classifiers =
Environment :: Web Environment
Framework :: Django
Framework :: Django :: 2.0
Framework :: Django :: 3.0
Framework :: Django :: 4.0
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Topic :: Internet :: WWW/HTTP
Topic :: Internet :: WWW/HTTP :: Dynamic Content
project_urls =
Documentation = https://safe-eth-py.readthedocs.io/en/latest/
Source = https://github.com/safe-global/safe-eth-py
Tracker = https://github.com/safe-global/safe-eth-py/issues
[options]
packages = find:
platforms = any
include_package_data = True
install_requires =
packaging
py-evm>=0.7.0a1
pysha3>=1.0.0,<2.0.0; python_version<"3.9"
safe-pysha3>=1.0.0; python_version>="3.9"
requests>=2
web3>=6.2.0
python_requires = >=3.8
[options.package_data]
gnosis =
py.typed
*.json
[options.extras_require]
django =
django>=2
django-filter>=2
djangorestframework>=2
[flake8]
max-line-length = 88
select = C,E,F,W,B,B950
extend-ignore = E203,E501,F841,W503
exclude = .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules,venv
[pycodestyle]
max-line-length = 120
exclude = .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules,venv
[isort]
profile = black
default_section = THIRDPARTY
known_first_party = gnosis
known_gnosis = py_eth_sig_utils
known_django = django
sections = FUTURE,STDLIB,DJANGO,THIRDPARTY,GNOSIS,FIRSTPARTY,LOCALFOLDER
[tool:pytest]
env =
DJANGO_SETTINGS_MODULE=config.settings.test
[mypy]
python_version = 3.10
check_untyped_defs = True
ignore_missing_imports = True
warn_unused_ignores = True
warn_redundant_casts = True
warn_unused_configs = True
[coverage:report]
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# Don't complain if tests don't hit defensive assertion code:
raise NotImplementedError
# Don't complain if non-runnable code isn't run:
if __name__ == .__main__.:
if settings.DEBUG
# Ignore pass lines
pass
[coverage:run]
include = safe_transaction_service/*
omit =
*__init__.py*
*tests*
*/migrations/*