-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
78 lines (68 loc) · 1.95 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
[tool.poetry]
name = "acg"
version = "1.2.0"
description = "Kivy application to generate flash cards for Anki."
authors = ["David Fischer <d.fischer.git@posteo.de>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/david-fischer/Anki_CardGen"
keywords = ["kivy, anki, flash cards, languages, portuguese, learning"]
packages = [{ include = "acg" }]
[tool.poetry.dependencies]
python = "^3.9"
appdirs = "^1.4.4"
titlecase = "^1.1.1"
attrs = "^20.3.0"
beautifulsoup4 = "^4.9.3"
bidict = "^0.21.2"
certifi = "^2020.12.5"
genanki = "^0.10.1"
kivymd = {url = "https://github.com/kivymd/KivyMD/archive/master.zip"}
googletrans = "^4.0.0rc1"
Kivy = "^2.0.0"
lxml = "^4.6.2"
pandas = "^1.1.5"
Pillow = "^8.0.1"
pony = "^0.7.14"
requests = "^2.25.1"
spacy = "^2.3.5"
toolz = "^0.11.1"
Unidecode = "^1.1.2"
aiohttp = {extras = ["speedups"], version = "^3.7.3"}
toml = "^0.10.2"
[tool.poetry.dev-dependencies]
Jinja2 = "^2.11.2"
pylint = "^2.6.0"
black = "^20.8b1"
pre-commit = "^2.9.2"
pyinstaller = "^4.1"
buildozer = {url = "https://github.com/kivy/buildozer/archive/master.zip"}
python-for-android = {git = "https://github.com/kivy/python-for-android.git"}
invoke = "^1.4.1"
Sphinx = "^3.4.1"
sphinx-autoapi = "^1.5.1"
sphinx-rtd-theme = "^0.5.0"
Cython = "^0.29.21"
virtualenv = "^20.2.2"
[tool.poetry.scripts]
acg = "acg.cli:main"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
#LINTERS ETC
[tool.pylint.messages_control]
disable = [
"C0330, C0326", #black compatibility
"import-error,no-name-in-module,no-member", #compatibility with pre-commit-hook in pycharm
"fixme"
]
good-names = ["i,j,k,v,x,y,id,_,d,bs"]
min-public-methods = 0
defining-attr-methods =["__init__","__new__","setUp","__post_init__","__attrs_post_init__"]
[tool.pylint.similarities]
ignore-imports=true
[tool.pylint.format]
max-line-length = "120" #increased
[tool.isort]
profile = "black"
known_third_party=["kivy","kivymd","googletrans","genanki"]