[tool.poetry] version = "2.3.3" authors = ["Free Law Project "] 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 "] 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.2" lxml = "^4.6.3" pyahocorasick = ">= 1.2" diff_match_patch_python = "^1.0.2" regex = ">=2020.1.8" courts-db = "^0.10.0" [tool.poetry.dev-dependencies] black = "^20.8b1" flake8 = "^3.9.0" isort = "^5.8.0" mypy = "^0.812" pylint = "^2.7.2" wheel = "^0.35.1" pylint-json2html = "^0.3.0" hyperscan = ">= 0.1.5" exrex = "^0.10.5" roman = "^3.3" pdoc3 = "^0.10.0" [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"]