forked from freelawproject/eyecite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
84 lines (73 loc) · 2.28 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
[tool.poetry]
version = "2.5.0"
authors = ["Free Law Project <[email protected]>"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries :: Python Modules",
]
description = "Tool for extracting legal citations from text strings."
keywords = ["legal", "courts", "citations", "extraction", "cites"]
license = "BSD-2-Clause"
maintainers = ["Free Law Project <[email protected]>"]
name = "eyecite"
readme = "README.rst"
repository = "https://github.com/freelawproject/eyecite"
include = ["eyecite/py.typed"]
[tool.poetry.urls]
"Organisation Homepage" = "https://free.law/"
[tool.poetry.dependencies]
python = "^3.7"
reporters-db = "^3.2.32"
lxml = "^4.6.3"
pyahocorasick = ">= 1.2"
fast-diff-match-patch = "^2.0.0"
regex = ">=2020.1.8"
courts-db = "^0.10.9"
[tool.poetry.dev-dependencies]
black = "^20.8b1"
flake8 = "^3.9.0"
isort = "^5.8.0"
mypy = "^0.812"
pylint = "^2.7.2"
wheel = "^0.38.1"
pylint-json2html = "^0.3.0"
exrex = "^0.10.5"
roman = "^3.3"
pdoc3 = "^0.10.0"
hyperscan = ">= 0.1.5"
[tool.poetry.group.benchmark.dependencies]
matplotlib = "^3.5.3"
[tool.black]
include = '''.*\.pyi?$'''
line-length = 79
[tool.isort]
profile = "black"
line_length = 79
[tool.pylint.master]
# C extensions pylint is allowed to inspect
extension-pkg-whitelist = ["ahocorasick", "hyperscan", "lxml"]
[tool.pylint.messages_control]
# R0901: too-many-ancestors
# W0613: unused-argument
disable = "C0330, C0326, C0114, R0901, W0613, E1121"
[tool.pylint.format]
max-line-length = "79"
# allow "m" as a standard variable name for re Match objects
good-names = "i,j,k,ex,Run,_,m"
[tool.pylint.similarities]
ignore-imports="yes"
[build-system]
build-backend = "poetry.core.masonry.api"
# including "setuptools" allows for "pip install -e /path/to/eyecite"
requires = ["poetry-core>=1.0.0", "setuptools"]