forked from reluce/szurubooru-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
93 lines (80 loc) · 2.32 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
85
86
87
88
89
90
91
92
93
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
skip-string-normalization = true
[tool.interrogate]
verbose = 2
fail-under = 95
exclude = ["tests"]
ignore-init-module = true
ignore-init-method = true
[tool.isort]
line_length = 120
lines_after_imports = 2
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
known_first_party = ["szurubooru_toolkit"]
known_local_folder = ["src/szurubooru_toolkit"]
multi_line_output = 3
force_single_line = true
[tool.mypy]
warn_return_any = false
warn_unused_configs = true
ignore_missing_imports = true
follow_imports = "silent"
check_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
[tool.poetry]
name = "szurubooru-toolkit"
version = "0.7.6"
description = "Python package and script collection to manage szurubooru."
authors = ["reluce <[email protected]>"]
license = "GPL-3.0-only"
readme = "README.md"
repository = "https://github.com/reluce/szurubooru-toolkit"
documentation = "https://github.com/reluce/szurubooru-toolkit"
keywords = ["szurubooru", "szuru", "booru", "saucenao", "deepbooru"]
[tool.poetry.scripts]
auto-tagger = 'szurubooru_toolkit.scripts.auto_tagger:main'
upload-media = 'szurubooru_toolkit.scripts.upload_media:main'
create-tags = 'szurubooru_toolkit.scripts.create_tags:main'
import-from-booru = 'szurubooru_toolkit.scripts.import_from_booru:main'
import-from-twitter = 'szurubooru_toolkit.scripts.import_from_twitter:main'
tag-posts = 'szurubooru_toolkit.scripts.tag_posts:main'
delete-posts = 'szurubooru_toolkit.scripts.delete_posts:main'
reset-posts = 'szurubooru_toolkit.scripts.reset_posts:main'
[tool.poetry.dependencies]
python = ">=3.8,<3.11"
beautifulsoup4="^4.10.0"
Pillow = "^9.1.1"
Pybooru="^4.2.2"
pygelbooru="^0.3.2"
pysaucenao="^1.6.1"
requests="^2.25.1"
tqdm="^4.59.0"
tensorflow="^2.8.0"
keras="^2.8.0"
numpy="^1.22.1"
pyszuru="^0.2.4"
tomlkit = "^0.10.0"
syncer = "^1.3.0"
loguru = "^0.6.0"
pathvalidate = "^2.5.0"
validators = "^0.18.2"
lxml = "^4.8.0"
tweepy = "^4.10.0"
[tool.poetry.dev-dependencies]
black = "^22.1.0"
flake8 = "^4.0.1"
interrogate = "^1.5.0"
isort = "^5.10.1"
mkdocs = "^1.2.3"
mkdocs-material = "^8.2.5"
mkdocstrings = "^0.18.1"
mypy = "^0.941"
pre-commit = "^2.17.0"
Pygments = "^2.11.2"
pytest = "^7.1.0"
pytest-cov = "^3.0.0"