File size: 1,507 Bytes
c7ac965
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b688574
d2bf885
 
 
c7ac965
 
 
 
 
 
 
 
 
 
 
 
d2bf885
 
 
 
c7ac965
 
ab71da0
c7ac965
 
 
 
 
 
ab71da0
c7ac965
 
 
 
 
 
 
 
 
 
ab71da0
7704180
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
[project]
name = "Encodechka"
version = "0.1.0"
description = "Default template for PDM package"
authors = [
    {name = "Roman Solomatin", email = "[email protected]"},
]
dependencies = [
    "APScheduler>=3.10.4",
    "click>=8.1.7",
    "gradio>=4.36.1",
    "gradio-client>=1.0.1",
    "huggingface-hub>=0.18.0",
    "matplotlib>=3.9.0",
    "numpy>=1.26.4",
    "pandas>=2.2.2",
    "python-dateutil>=2.9.0.post0",
    "requests>=2.32.3",
    "tqdm>=4.66.4",
    "pyarrow>=16.1.0",
    "pydantic-settings>=2.3.3",
    "markdown>=3.6",
    "lxml>=5.2.2",
]
requires-python = "==3.10.*"
readme = "README.md"
license = {text = "MIT"}

[tool.pdm]
distribution = false

[tool.pdm.dev-dependencies]
lint = [
    "ruff>=0.4.8",
]
test = [
    "pytest>=8.2.2",
    "pytest-vcr>=1.0.2",
]


[tool.ruff]
fix = true
target-version = "py310"
line-length = 120
extend-include = ["*.ipynb"]

[tool.ruff.lint]
# Enable pycodestyle (`E`) and Pyflakes (`F`) codes by default.
select= [
    "E",   # pycodestyle errors
    "W",   # pycodestyle warnings
    "F",   # pyflakes
    "I",   # isort
    "B",   # flake8-bugbear
    "UP",  # pyupgrade
    "RUF", # ruff
    #"D",   # pydocstyle
]
fixable = ["A", "B", "C", "D", "E", "F", "G", "I", "N", "Q", "S", "T", "W", "ANN", "ARG", "BLE", "COM", "DJ", "DTZ", "EM", "ERA", "EXE", "FBT", "ICN", "INP", "ISC", "NPY", "PD", "PGH", "PIE", "PL", "PT", "PTH", "PYI", "RET", "RSE", "RUF", "SIM", "SLF", "TCH", "TID", "TRY", "UP", "YTT"]
ignore = ["RUF001"]