ef0888619e
Enable PYI019 and PYI034
2026-12-01 12:37:54 +01:00
e4016db9fe
Enable "no_implicit_reexport"
...
Also, remove the unused `orm_exc` import alias
2026-12-01 12:37:46 +01:00
d9364eea9e
Set all "strict" options explicitly
2026-12-01 12:37:37 +01:00
2bc2408694
Type-check pandas with pandas-stubs
CI / Checks (Python 3.13) (push) Successful in 1m54s
2026-12-01 00:31:21 +01:00
ad56683166
Explain why black stays below v26
CI / Checks (Python 3.13) (push) Successful in 1m53s
2026-12-01 00:18:34 +01:00
6ecbd6860a
Add the flake8-only notes to the ruff section
CI / Checks (Python 3.13) (push) Successful in 1m52s
2026-11-30 23:50:12 +01:00
8d843895b7
Complete the ruff-only notes in the flake8 section
2026-11-30 23:50:05 +01:00
567bb713e2
Enable YTT in flake8 and ruff
2026-11-30 23:43:49 +01:00
57ac602612
Enable TRY in flake8 and ruff
2026-11-30 23:42:08 +01:00
1827e02f34
Enable TID in flake8 and ruff
2026-11-30 23:41:42 +01:00
4023f32662
Enable RSE in flake8 and ruff
2026-11-30 23:41:00 +01:00
e612e33f59
Enable PIE in flake8 and ruff
2026-11-30 23:40:15 +01:00
991543046d
Enable PGH in ruff
2026-11-30 23:39:08 +01:00
d55e72e04d
Enable LOG in flake8 and ruff
2026-11-30 23:38:43 +01:00
5c62c9919c
Enable G in ruff
2026-11-30 23:38:28 +01:00
33daa9cda7
Enable FLY in ruff
2026-11-30 23:38:13 +01:00
c32566527a
Enable EXE in flake8 and ruff
2026-11-30 23:37:54 +01:00
6ebcd69524
Enable BLE in ruff
2026-11-30 23:37:20 +01:00
0090145b65
Capitalize the explanations after "=>"
2026-11-30 23:27:31 +01:00
c56fe649b7
Enable RUF in ruff
2026-11-30 23:17:41 +01:00
ae2dc8db64
Enable EM in flake8 and ruff
2026-11-30 22:59:41 +01:00
652713e702
Enable NPY in ruff
2026-11-30 22:49:41 +01:00
5beb88559f
Enable FBT in flake8 and ruff
2026-11-30 22:43:35 +01:00
d0326aee4f
Enable SLF in ruff
2026-11-30 22:38:26 +01:00
99dda74a9e
Enable PL in ruff
2026-11-30 22:28:12 +01:00
95f08bc96d
Enable PD in flake8 and ruff
2026-11-30 22:11:10 +01:00
f266adad45
Enable A in flake8 and ruff
2026-11-30 22:06:45 +01:00
00aff456c3
Enable FURB in ruff
2026-11-30 22:06:44 +01:00
0a4fd0edbc
Enable PERF in ruff
2026-11-30 22:06:44 +01:00
9cc21f5b69
Enable PTH in ruff
2026-11-30 22:06:43 +01:00
0cb924b3b6
Enable ISC in flake8 and ruff
2026-11-30 22:06:43 +01:00
3bd7dd5772
Enable RET in flake8 and ruff
2026-11-30 22:06:42 +01:00
007998372f
Enable SIM in flake8 and ruff
2026-11-30 22:06:41 +01:00
5dce8e6645
Enable UP in ruff
2026-11-30 21:28:31 +01:00
d0d5c92c55
Sort the ruff-only rule families by code
2026-11-30 20:50:21 +01:00
5c13d719cd
Enforce the established import aliases with ruff
...
These aliases were already in use before this branch
2026-11-30 20:22:06 +01:00
cf2534f41e
Import velofy.config as pkg_config everywhere
2026-11-30 20:19:35 +01:00
de5e49b497
Import alembic.config as alembic_config
2026-11-30 20:13:46 +01:00
dc45c689c4
Import alembic.command as alembic_cmd
2026-11-30 20:12:41 +01:00
e9743eaa01
Import rpy2.robjects.packages as r_packages
2026-11-30 20:06:09 +01:00
8bca30c836
Import rpy2.rinterface_lib.callbacks as r_callbacks
2026-11-30 20:04:44 +01:00
9b844b16e7
Import statsmodels.tsa.api as tsa
...
The alias in the `statsmodels` documentation
2026-11-30 20:03:25 +01:00
07e90b7851
Import click.testing as cli_testing
...
Like `click.core` as `cli_core`
2026-11-30 20:01:43 +01:00
07660ecff9
Import geopy.distance as geo_distance everywhere
2026-11-30 20:01:42 +01:00
d660f0cc4e
Import googlemaps as gm everywhere
2026-11-30 20:01:41 +01:00
d006752194
Enforce the import conventions with ruff
...
flake8 has no plugin with configurable aliases
2026-11-30 17:18:29 +01:00
6119064d71
Remove obsolete exceptions from the mypy config
...
`nox` and `pytest` are not imported in the package,
and the other libraries ship their own types by now
2026-11-30 13:23:29 +01:00
570c9c9fcb
Run mypy in the "lint" session
...
It needs the dependencies of `velofy` installed,
and it now also reports "# type: ignore" comments without an error code
or that are not needed anymore
2026-11-30 13:15:27 +01:00
27171fe79a
Exclude folium from the "untyped-call" check
...
`folium` has no type annotations, so every call into it counted as untyped
2026-11-30 11:33:19 +01:00
c3198ecc48
Turn all warnings into errors
...
CI / Checks (Python 3.13) (push) Successful in 1m43s
New warnings, such as deprecations,
then fail right away instead of piling up.
The ignore for `patsy` is obsolete.
2026-11-30 10:56:56 +01:00