@@ -17,9 +17,9 @@ keywords = [
17
17
" strava" ,
18
18
" visualisation" ,
19
19
]
20
- license = {text = " MIT" }
21
- maintainers = [{ name = " Hugo van Kemenade" } ]
22
- authors = [{ name = " Marcus Volz" } ]
20
+ license = { text = " MIT" }
21
+ maintainers = [ { name = " Hugo van Kemenade" } ]
22
+ authors = [ { name = " Marcus Volz" } ]
23
23
requires-python = " >=3.8"
24
24
classifiers = [
25
25
" Development Status :: 3 - Alpha" ,
@@ -34,9 +34,7 @@ classifiers = [
34
34
" Topic :: Multimedia :: Graphics" ,
35
35
" Topic :: Scientific/Engineering :: Visualization" ,
36
36
]
37
- dynamic = [
38
- " version" ,
39
- ]
37
+ dynamic = [ " version" ]
40
38
dependencies = [
41
39
" calmap>=0.0.11" ,
42
40
" fit2gpx" ,
@@ -46,13 +44,11 @@ dependencies = [
46
44
" plotnine" ,
47
45
" rich" ,
48
46
" seaborn" ,
49
- ' setuptools; python_version >= " 3.12" ' , # TODO Remove when https://github.com/MarvinT/calmap/issues/22 is fixed
47
+ " setuptools; python_version>=' 3.12' " , # TODO Remove when https://github.com/MarvinT/calmap/issues/22 is fixed
50
48
]
51
- [project .urls ]
52
- Homepage = " https://github.com/marcusvolz/strava_py"
53
- Source = " https://github.com/marcusvolz/strava_py"
54
- [project .scripts ]
55
- stravavis = " stravavis.cli:main"
49
+ urls.Homepage = " https://github.com/marcusvolz/strava_py"
50
+ urls.Source = " https://github.com/marcusvolz/strava_py"
51
+ scripts.stravavis = " stravavis.cli:main"
56
52
57
53
[tool .hatch ]
58
54
version.source = " vcs"
@@ -63,28 +59,28 @@ local_scheme = "no-local-version"
63
59
[tool .ruff ]
64
60
fix = true
65
61
66
- [tool .ruff .lint ]
67
- select = [
68
- " C4" , # flake8-comprehensions
69
- " E" , # pycodestyle errors
70
- " EM" , # flake8-errmsg
71
- " F" , # pyflakes errors
72
- " I" , # isort
73
- " ISC" , # flake8-implicit-str-concat
74
- " LOG" , # flake8-logging
75
- " PGH" , # pygrep-hooks
62
+ lint.select = [
63
+ " C4" , # flake8-comprehensions
64
+ " E" , # pycodestyle errors
65
+ " EM" , # flake8-errmsg
66
+ " F" , # pyflakes errors
67
+ " I" , # isort
68
+ " ICN" , # flake8-import-conventions
69
+ " ISC" , # flake8-implicit-str-concat
70
+ " LOG" , # flake8-logging
71
+ " PGH" , # pygrep-hooks
72
+ " RUF022" , # unsorted-dunder-all
76
73
" RUF100" , # unused noqa (yesqa)
77
- " UP" , # pyupgrade
78
- " W" , # pycodestyle warnings
79
- " YTT" , # flake8-2020
74
+ " UP" , # pyupgrade
75
+ " W" , # pycodestyle warnings
76
+ " YTT" , # flake8-2020
80
77
]
81
- extend-ignore = [
82
- " E203" , # Whitespace before ':'
83
- " E221" , # Multiple spaces before operator
84
- " E226" , # Missing whitespace around arithmetic operator
85
- " E241" , # Multiple spaces after ','
78
+ lint.ignore = [
79
+ " E203" , # Whitespace before ':'
80
+ " E221" , # Multiple spaces before operator
81
+ " E226" , # Missing whitespace around arithmetic operator
82
+ " E241" , # Multiple spaces after ','
83
+ " UP038" , # Makes code slower and more verbose
86
84
]
87
-
88
- [tool .ruff .lint .isort ]
89
- known-first-party = [" stravavis" ]
90
- required-imports = [" from __future__ import annotations" ]
85
+ lint.isort.known-first-party = [ " stravavis" ]
86
+ lint.isort.required-imports = [ " from __future__ import annotations" ]
0 commit comments