forked from inteoryx/twitter-video-dl
-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
75 lines (68 loc) · 1.81 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
[tool.poetry]
authors = ["7rikazhexde"]
description = "This project is based on the original code of the [inteoryx / twitter-video-dl](https://github.com/inteoryx/twitter-video-dl) project, which allows users to download Twitter videos as MP4 files using Python, FFmpeg and URLs without the need for API keys. I forked this project for use in iOS Shortcuts application."
license = "Unlicense"
name = "twitter-video-dl-for-sc"
readme = "README.md"
version = "0.2.11"
package-mode = false
[tool.poetry.dependencies]
python = "^3.11.0"
requests = "^2.31.0"
[tool.poetry.group.dev.dependencies]
black = "^23.9.1"
ruff = "^0.0.292"
taskipy = "^1.12.0"
ffmpeg-python = "^0.2.0"
pre-commit = "^3.4.0"
tomlkit = "^0.12.1"
pytest = "^7.4.3"
pytest-mock = "^3.12.0"
pytest-cov = "^4.1.0"
pytest-html = "^4.1.1"
pytest-xdist = "^3.5.0"
[tool.taskipy.tasks]
# poetry run task [task]
blackfix = "poetry run black twitter-video-dl-for-sc.py twitter-video-dl.py src tests ci"
ruffcheck = "poetry run ruff twitter-video-dl-for-sc.py twitter-video-dl.py src tests ci"
rufffix = "poetry run ruff twitter-video-dl-for-sc.py twitter-video-dl.py src tests ci --fix"
[tool.black]
target-version = ['py310']
[tool.ruff]
# Check Rules
lint.select = ["E", "F", "I"]
# Ignore Error
lint.ignore = ["E402","E501"]
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
]
lint.per-file-ignores = {}
# Assume Python 3.10.
target-version = "py310"
[build-system]
requires = [
"setuptools",
"requests>2.27.0"
]
build-backend = "setuptools.build_meta"