Unify the way the imports work #9

Merged
alexander merged 21 commits from unify-imports into develop 2026-11-30 20:30:54 +01:00
Owner
No description provided.
`sa` is the common alias, also in SQLAlchemy's own documentation
Naming rule for `velofy`: Import modules instead of objects
That is the documented way to share fixtures from other modules,
instead of importing them into tests/conftest.py
Since Python 3.9 and 3.10, `list`, `tuple`, and `X | None`
replace `typing.List`, `typing.Tuple`, and `typing.Optional`
... and `collections.abc` as `cabc`

Linting rule for `velofy`: Import modules instead of objects
flake8 has no plugin with configurable aliases
Like `click.core` as `cli_core`
The alias in the `statsmodels` documentation
These aliases were already in use before this branch
Ignore the import renames in git blame
All checks were successful
CI / Checks (Python 3.13) (push) Successful in 1m52s
31dda815d9
alexander merged commit 75824ea602 into develop 2026-11-30 20:30:54 +01:00
alexander deleted branch unify-imports 2026-11-30 20:30:54 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
alexander/velofy!9
No description provided.