generated from freelawproject/new-project-template
-
-
Notifications
You must be signed in to change notification settings - Fork 31
/
pyproject.toml
83 lines (72 loc) · 2.25 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
[tool.poetry]
version = "2.6.4"
authors = ["Free Law Project <info@free.law>"]
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.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"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 <info@free.law>"]
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.10,<4.0"
reporters-db = ">=3.2.38"
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 = "^23.1.0"
flake8 = "^7.0.0"
isort = "^5.8.0"
mypy = "^1.3.0"
pylint = "^3.0.3"
wheel = "^0.42.0"
pylint-json2html = "^0.5.0"
exrex = "^0.11.0"
roman = "^4.0"
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"]