This repository has been archived by the owner on Jul 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
pyproject.toml
79 lines (70 loc) · 1.99 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
# Poetry pyproject.toml: https://python-poetry.org/docs/pyproject/
[build-system]
requires = ["poetry>=1.0"]
build-backend = "poetry.masonry.api"
[tool.poetry]
name = "pytorch-pqrnn"
version = "0.1.0"
description = "Pytorch implementation of pQRNN"
readme = "README.md"
authors = [
"pytorch-pqrnn <mouchenghao@gmail.com>"
]
license = "MIT"
repository = "https://github.com/ChenghaoMou/pytorch-pqrnn"
homepage = "https://github.com/ChenghaoMou/pytorch-pqrnn"
# Keywords description https://python-poetry.org/docs/pyproject/#keywords
keywords = [] # Update me
# Pypi classifiers: https://pypi.org/classifiers/
classifiers = [ # Update me
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[tool.poetry.scripts]
# Entry points for the package https://python-poetry.org/docs/pyproject/#scripts
"pytorch-pqrnn" = "pytorch_pqrnn.__main__:app"
[tool.poetry.dependencies]
python = "^3.7"
importlib_metadata = {version = "^1.6.0", python = "<3.8"}
typer = {extras = ["all"], version = "^0.3.2"}
rich = "^8.0.0"
torch = "<=1.9.0"
bitstring = "^3.1.7"
pytorch-lightning = "^1.2.5"
nltk = "^3.5"
pandas = "^1.1.3"
numpy = "^1.19.2"
scikit-learn = "^0.23.2"
bandit = "^1.7.0"
mmh3 = "^2.5.1"
datasets = "^1.4.1"
grpcio = "<=1.38.1"
[tool.poetry.dev-dependencies]
darglint = "^1.5.4"
isort = "^5.5.4"
pyupgrade = "^2.7.2"
black = "^20.8b1"
mypy = "^0.782"
bandit = "^1.6.2"
safety = "^1.9.0"
pytest = "^6.0.1"
pylint = "^2.5.3"
pydocstyle = "^5.0.2"
pre-commit = "^2.7.1"
[tool.black]
# https://github.com/psf/black
line-length = 80
target-version = ["py37"]
[tool.isort]
# https://github.com/timothycrosley/isort/
known_typing = "typing,types,typing_extensions,mypy,mypy_extensions"
sections = "FUTURE,TYPING,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER"
include_trailing_comma = true
default_section = "FIRSTPARTY"
multi_line_output = 3
indent = 4
force_grid_wrap = 0
use_parentheses = true
line_length = 80