@@ -12,9 +12,13 @@ readme = "README.md"
12
12
keywords = [
13
13
" osm openstreetmap tiles visualization" ,
14
14
]
15
- license = {text = " MIT" }
16
- maintainers = [{name = " Hugo van Kemenade" }]
17
- authors = [{
name =
" Colin Bick and Contributors" ,
email =
" [email protected] " }]
15
+ license = { text = " MIT" }
16
+ maintainers = [
17
+ { name = " Hugo van Kemenade" },
18
+ ]
19
+ authors = [
20
+ {
name =
" Colin Bick and Contributors" ,
email =
" [email protected] " },
21
+ ]
18
22
requires-python = " >=3.8"
19
23
classifiers = [
20
24
" Intended Audience :: Developers" ,
@@ -33,18 +37,16 @@ classifiers = [
33
37
dynamic = [
34
38
" version" ,
35
39
]
36
- [project .optional-dependencies ]
37
- tests = [
40
+ optional-dependencies.tests = [
38
41
" coverage" ,
39
42
" pillow>=9.1" ,
40
43
" pytest" ,
41
44
" pytest-cov" ,
42
45
]
43
- [project .urls ]
44
- Changelog = " https://github.com/hugovk/osmviz/releases"
45
- Documentation = " https://hugovk.github.io/osmviz/"
46
- Homepage = " https://github.com/hugovk/osmviz"
47
- Source = " https://github.com/hugovk/osmviz"
46
+ urls.Changelog = " https://github.com/hugovk/osmviz/releases"
47
+ urls.Documentation = " https://hugovk.github.io/osmviz/"
48
+ urls.Homepage = " https://github.com/hugovk/osmviz"
49
+ urls.Source = " https://github.com/hugovk/osmviz"
48
50
49
51
[tool .hatch ]
50
52
version.source = " vcs"
@@ -55,32 +57,36 @@ local_scheme = "no-local-version"
55
57
[tool .ruff ]
56
58
fix = true
57
59
58
- [tool .ruff .lint ]
59
- select = [
60
- " C4" , # flake8-comprehensions
61
- " E" , # pycodestyle errors
62
- " EM" , # flake8-errmsg
63
- " F" , # pyflakes errors
64
- " I" , # isort
65
- " ISC" , # flake8-implicit-str-concat
66
- " LOG" , # flake8-logging
67
- " PGH" , # pygrep-hooks
68
- " RUF100" , # unused noqa (yesqa)
60
+ lint.select = [
61
+ " C4" , # flake8-comprehensions
62
+ " E" , # pycodestyle errors
63
+ " EM" , # flake8-errmsg
64
+ " F" , # pyflakes errors
65
+ " I" , # isort
66
+ " ISC" , # flake8-implicit-str-concat
67
+ " LOG" , # flake8-logging
68
+ " PGH" , # pygrep-hooks
69
69
" RUF022" , # unsorted-dunder-all
70
- " UP" , # pyupgrade
71
- " W" , # pycodestyle warnings
72
- " YTT" , # flake8-2020
70
+ " RUF100" , # unused noqa (yesqa)
71
+ " UP" , # pyupgrade
72
+ " W" , # pycodestyle warnings
73
+ " YTT" , # flake8-2020
73
74
]
74
- extend-ignore = [
75
+ lint. extend-ignore = [
75
76
" E203" , # Whitespace before ':'
76
77
" E221" , # Multiple spaces before operator
77
78
" E226" , # Missing whitespace around arithmetic operator
78
79
" E241" , # Multiple spaces after ','
79
80
]
81
+ lint.isort.known-first-party = [
82
+ " osmviz" ,
83
+ ]
84
+ lint.isort.required-imports = [
85
+ " from __future__ import annotations" ,
86
+ ]
80
87
81
- [tool .ruff .lint .isort ]
82
- known-first-party = [" osmviz" ]
83
- required-imports = [" from __future__ import annotations" ]
88
+ [tool .pyproject-fmt ]
89
+ max_supported_python = " 3.13"
84
90
85
91
[tool .pytest .ini_options ]
86
92
addopts = " -W error::DeprecationWarning"
0 commit comments