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