-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
86 lines (74 loc) · 2.06 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
[tool.poetry]
name = "stqdm"
version = "0.0.5"
description = "Easy progress bar for streamlit based on the awesome streamlit.progress and tqdm"
authors = ["Wirg <Wirg@users.noreply.github.com>"]
maintainers = ["Wirg <Wirg@users.noreply.github.com>"]
license = "Apache License 2.0"
keywords = ["streamlit", "progressbar", "progressmeter", "progress", "bar", "meter", "rate", "eta", "tqdm"]
readme = "README.md"
homepage = "https://github.com/Wirg/stqdm"
repository = "https://github.com/Wirg/stqdm"
include = [
"LICENSE",
]
classifiers = [
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[tool.poetry.dependencies]
# Drop 3.9.7 https://github.com/streamlit/streamlit/issues/5140#issuecomment-1213574499
python = ">=3.8,<4.0.0,!=3.9.7"
tqdm = ">=4.50"
streamlit = ">=1.11"
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.3.3"
pytest = "^7.4.0"
pytest-cov = "^4.1.0"
black = "^23.7.0"
click = ">=8.1" # Force for black compatibility
isort = "^5.12.0"
pylint = "^2.17.5"
nox = "^2023.4.22"
nox-poetry = "^1.0.3"
freezegun = "^1.4.0"
mypy = "^1.8.0"
types-tqdm = "^4.66.0.5"
[tool.black]
line-length = 127
target-version = ['py37', 'py38', 'py39', 'py310', 'py311']
[tool.isort]
py_version=39
profile = "black"
multi_line_output = 3
skip_gitignore = true
[tool.pytest.ini_options]
addopts = "-ra"
testpaths = ["tests"]
[tool.coverage.run]
omit = [".nox/*"]
[tool.pylint.main]
ignore-paths = [".nox/"]
[tool.pylint.messages_control]
disable = [
"ungrouped-imports", # already managed by isort
"wrong-import-order",
"wrong-import-position",
"missing-module-docstring",
"missing-class-docstring",
"too-few-public-methods"
]
[tool.pylint.basic]
max-line-length=140
docstring-min-length=15
max-args = 6
no-docstring-rgx = "^_|^test_|^Test[A-Z]" # no docstrings for tests
[tool.pylint.miscellaneous]
notes = ["FIXME"]
[tool.pylint.similarities]
ignore-signatures = "yes"
ignore-imports = "yes"
min-similarity-lines = 8
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"