-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
117 lines (104 loc) · 2.68 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
[build-system]
requires = ['flit_core>=3.9']
build-backend = 'flit_core.buildapi'
[project]
name = 'time-lapse'
version = '9.0'
description = 'Time-lapse movie assembly'
readme = 'README.md'
requires-python = '>=3.13'
license = {file = 'LICENSE'}
authors = [
{name = 'Arne de Laat', email = '[email protected]'},
]
maintainers = [
{name = 'Arne de Laat', email = '[email protected]'},
]
keywords = [
'ffmpeg',
'photography',
'time-lapse',
]
classifiers = [
'Intended Audience :: Developers',
'Intended Audience :: Other Audience',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Multimedia :: Video :: Conversion',
]
dependencies = [
'ffmpeg-python==0.2.0',
'pillow==11.0.0',
]
[project.optional-dependencies]
graph = [
'graphviz',
]
dev = [
'coverage==7.6.10',
'mypy==1.14.1',
]
publish = [
'flit==3.10.1',
]
[project.urls]
Homepage = 'https://arne.delaat.net/timelapse.html'
Repository = 'https://github.com/153957/time-lapse'
[project.scripts]
timelapse = 'time_lapse.cli:timelapse'
detect_audio = 'time_lapse.cli:detect_audio'
[tool.mypy]
ignore_missing_imports = true
show_column_numbers = true
show_error_codes = true
strict = true
warn_return_any = true
warn_unused_configs = true
[tool.ruff]
line-length = 120
target-version = 'py311'
[tool.ruff.format]
quote-style = 'single' # Prefer single quotes, except for triple quotes strings
[tool.ruff.lint]
select = ['ALL'] # https://docs.astral.sh/ruff/rules/
ignore = [
'CPY001', # Do not require copyright notices
'D104', # Allow missing package docstring
'D203', # Should instead be no blank line before class docstring
'D213', # Summary should instead be on the first line
'EM', # Allow messages directly in exceptions
'FBT001', # Allow positional for boolean arguments
'FBT002', # Allow default value for boolean arguments
'PD', # Not using pandas
'PLR0913', # Allow functions with many arguments
'PT', # Not using pytest
'RET504', # Allow variable assignment before return
'SIM108', # Allow if-else block instead of ternary
'T201', # Allow using print
'TRY003', # Specific messages for common exception classes
]
[tool.ruff.lint.flake8-quotes]
inline-quotes = 'single'
[tool.ruff.lint.isort]
lines-between-types = 1
section-order = [
'future',
'standard-library',
'third-party',
'ffmpeg',
'first-party',
'local-folder',
]
[tool.ruff.lint.isort.sections]
ffmpeg = ['ffmpeg']
[tool.coverage.run]
branch = true
source = [
'time_lapse',
'tests',
]
[tool.coverage.report]
show_missing = true
skip_empty = true
skip_covered = true