-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
129 lines (113 loc) · 3.47 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
118
119
120
121
122
123
124
125
126
127
128
129
[tool.poetry]
name = 'naturtag'
version = '0.8.0'
description = 'Tag your nature photos with iNat taxonomy and observation metadata'
authors = ['Jordan Cook']
license = 'MIT'
readme = 'README.md'
homepage = 'https://github.com/pyinat/naturtag'
repository = 'https://github.com/pyinat/naturtag'
documentation = 'https://naturtag.readthedocs.io'
classifiers = [
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Environment :: MacOS X',
'Environment :: Win32 (MS Windows)',
'Environment :: X11 Applications',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Science/Research',
'Typing :: Typed',
]
include = [
{ path = '*.md' },
{ path = 'assets' },
{ path = 'docs', format = 'sdist' },
{ path = 'test', format = 'sdist' },
]
exclude = [
'assets/demo_images/*',
'assets/screenshots/*',
'assets/icons/*-preview.*',
'assets/icons/*.bmp',
'assets/icons/*.xcf',
]
[tool.poetry.dependencies]
python = '>=3.10,<3.13'
attrs = '>=21.2'
click = '>=8.0'
click-help-colors = '>=0.9'
pillow = '>=10.0'
pyexiv2 = '>=2.10'
pyinaturalist = '>=0.19'
pyinaturalist-convert = '>=0.6.5'
pyside6 = '6.7.3'
pyqtdarktheme-fork = '^2.3.2'
pyyaml = '>=6.0'
qtawesome = '^1.1.1'
sqlalchemy = '^2.0.23'
tablib = '^3.0'
# Documentation dependencies needed for Readthedocs builds
furo = {optional=true, version='^2024.7'}
linkify-it-py = {optional=true, version='^2.0'}
myst-parser = {optional=true, version='^3.0'}
sphinx = {optional=true, version='^7.4'}
sphinx-autodoc-typehints = {optional=true, version='^2.2'}
sphinx-copybutton = {optional=true, version='>=0.5'}
sphinx-design = {optional=true, version='>=0.2'}
sphinxcontrib-apidoc = {optional=true, version='^0.5'}
[tool.poetry.dev-dependencies]
babel = '>=2.0'
coverage = '^7.0'
nox = '^2023.4'
nox-poetry = '^1.0'
pre-commit = '^3.5'
prettyprinter = '^0.18'
pyinstaller = '^6.1'
pytest = '^8.2'
pytest-cov = '>=3.0'
pytest-xdist = '>=2.2'
[tool.poetry.extras]
all = []
docs = [
'furo',
'linkify-it-py',
'myst-parser',
'sphinx',
'sphinx-autodoc-typehints',
'sphinx-copybutton',
'sphinx-design',
'sphinxcontrib-apidoc',
]
[tool.poetry.scripts]
nt = 'naturtag.cli:main'
naturtag = 'naturtag.cli:main'
naturtag-ui = 'naturtag.app.app:main'
[build-system]
requires = ['poetry-core>=1.0.0']
build-backend = 'poetry.core.masonry.api'
[tool.coverage.html]
directory = 'test-reports'
[tool.coverage.run]
branch = true
source = ['naturtag']
[tool.coverage.report]
exclude_lines = ['pragma: no cover', 'if TYPE_CHECKING:']
[tool.mypy]
ignore_missing_imports = true
files = ['naturtag']
[tool.ruff]
fix = true
unsafe-fixes = true
line-length = 100
output-format = 'grouped'
target-version = 'py311'
[tool.ruff.lint]
select = ['B', 'C4', 'C90', 'E', 'F', 'I']
ignore = ['B023']
[tool.ruff.format]
quote-style = 'single'
[tool.ruff.lint.isort]
known-first-party = ['test']
[tool.ruff.lint.pycodestyle]
max-line-length = 120