forked from freelawproject/courtlistener
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
152 lines (141 loc) · 3.63 KB
/
pyproject.toml
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
[tool.poetry]
authors = ["Mike Lissner <[email protected]>"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Natural Language :: English",
"Operating System :: OS Independent",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Intended Audience :: Developers",
"Intended Audience :: Legal Industry",
]
description = "A free and powerful system for awareness and research of the American judicial system."
documentation = "https://github.com/freelawproject/courtlistener/wiki"
homepage = "https://www.courtlistener.com/"
include = ["manage.py"]
keywords = ["legal", "courts", "databases", "judiciary", "laws"] # Max: 5
license = "AGPL-3.0" # Should be spdx ID: https://spdx.org/licenses/
maintainers = ["Mike Lissner <[email protected]>"]
name = "cl"
readme = "README.md"
repository = "https://github.com/freelawproject/courtlistener"
version = "0.14.24"
[tool.poetry.scripts]
cl-manage = "manage:main"
[tool.poetry.dependencies]
argparse = "*"
beautifulsoup4 = "==4.9.*"
boto3 = "^1.17.19"
celery = "^4.3.0"
certifi = "^2020.12.5"
courts-db = "^0.9.25"
disposable-email-domains = "*"
Django = "^3.1.0"
django-cache-memoize = "==0.*"
django-cors-headers = "^3.7.0"
django-extensions = "^3.1.1"
django-filter = "^2.4.0"
django-localflavor = "^3.0.1"
django-markdown-deux = "*"
django-mathfilters = "*"
django-ratelimit = "==3.0.*"
django-redis-cache = "^3.0.0"
django-storages = "^1.11.1"
djangorestframework = "3.12.*"
djangorestframework-xml = "^2.0.0"
drf-dynamic-fields = "*"
feedparser = "^5.2.1"
geonamescache = "^0.20"
httplib2 = "*"
internetarchive = "*"
ipaddress = "^1.0.16"
itypes = "^1.1.0"
kombu = "^4.6.4"
lxml = "==4.*,>=4.0.0"
markdown2 = "==2.4.*"
ndg-httpsclient = "^0.4.0"
networkx = "^2.5"
nose = "*"
openapi-codec = "^1.3.1"
pandas = "^1.1.2"
pillow = "*"
psycopg2 = "^2.8.6"
pycparser = "^2.14"
pyopenssl = "*"
pyparsing = "^2.4.2"
pypdf2 = "^1.26.0"
python = "^3.8"
python-dateutil = "^2.8.1"
python-igraph = "0.9.1"
python-magic = "^0.4.21"
pytz = "*"
pyyaml = "^5.3.1"
redis = "^3.5.3"
requests = "^2.20.0"
selenium = "4.0.0a6.post2"
sentry-sdk = "^1.0.0"
simplejson = "*"
stripe = "^2.55.2"
timeout-decorator = "*"
tldextract = "*"
unidecode = "*"
usaddress = "*"
# Currently this doesn't support py3, which blocks installation due to outdated dependencies.
juriscraper = "^2.3.0"
scorched = {git = "https://github.com/freelawproject/scorched.git", branch="main"}
djangorestframework-filters = "1.0.0.dev2"
ipython = "^7.21.0"
gunicorn = "^20.0.4"
django-hCaptcha = "^0.1.0"
eyecite = "^2.1.0"
reporters-db = "^3.2.4"
django-waffle = "^2.1.0"
nameparser = "^1.0.6"
[tool.poetry.dev-dependencies]
pylint = "^2.7.2"
pytest = "==4.4.*,>=4.4.0"
pytest-django = "==3.10.*"
black = {version = "21.6b0", allow-prereleases = true}
flake8 = "^3.9.0"
mypy = "^0.812"
exrex = "^0.10.5"
djangorestframework-stubs = "^1.4.0"
django-stubs = "^1.7.0"
lxml-stubs = "^0.1.1"
tblib = "^1.7.0"
pre-commit = "^2.13.0"
flynt = "^0.65"
[tool.poetry.extras]
flp = ["reporters-db", "juriscraper"]
[tool.black]
include = '''
(
cl # Just include a few directories for now
)*\.pyi?$
'''
exclude = '''
(
\.eggs
| .*\.egg-info
| .*migrations.*
| \.mypy_cache
| __pycache__
| \.venv
)
'''
line-length = 79
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 79
[tool.pylint.messages_control]
disable = "C0330, C0326"
[tool.pylint.format]
max-line-length = "79"
[build-system]
build-backend = "poetry.masonry.api"
requires = ["poetry>=0.12"]