Alexander Bayandin
30a7dd630c
ruff: enable TC — flake8-type-checking ( #11368 )
...
## Problem
`TYPE_CHECKING` is used inconsistently across Python tests.
## Summary of changes
- Update `ruff`: 0.7.0 -> 0.11.2
- Enable TC (flake8-type-checking):
https://docs.astral.sh/ruff/rules/#flake8-type-checking-tc
- (auto)fix all new issues
2025-03-30 18:58:33 +00:00
Tristan Partin
5bd8e2363a
Enable all pyupgrade checks in ruff
...
This will help to keep us from using deprecated Python features going
forward.
Signed-off-by: Tristan Partin <tristan@neon.tech >
2024-10-08 14:32:26 -05:00
Joonas Koivunen
762a8a7bb5
python: more linting ( #4734 )
...
Ruff has "B" class of lints, including B018 which will nag on useless
expressions, related to #4719 . Enable such lints and fix the existing
issues.
Most notably:
- https://beta.ruff.rs/docs/rules/mutable-argument-default/
- https://beta.ruff.rs/docs/rules/assert-false/
---------
Co-authored-by: Alexander Bayandin <alexander@neon.tech >
2023-07-18 12:56:40 +03:00
Alexander Bayandin
3d869cbcde
Replace flake8 and isort with ruff ( #3810 )
...
- Introduce ruff (https://beta.ruff.rs/ ) to replace flake8 and isort
- Update mypy and black
2023-03-14 13:25:44 +00:00
Alexander Bayandin
39a3bcac36
test_runner: fix flake8 warnings
2022-08-22 14:57:09 +01:00
Alexander Bayandin
4c2bb43775
Reformat all python files by black & isort
2022-08-22 14:57:09 +01:00
bojanserafimov
90e2c9ee1f
Rename zenith to neon in python tests ( #1871 )
2022-06-02 16:21:28 -04:00
Kirill Bulatov
4d0f7fd1e4
Update Zenith CLI config between runs
2022-03-10 19:38:58 +02:00
Kirill Bulatov
f49990ed43
Allow creating timelines by branching off ancestors
2022-03-10 19:38:58 +02:00
Bojan Serafimov
ad262a46ad
Remove redundant pytest_plugins assignment
2022-02-17 13:41:49 +02:00
bojanserafimov
afb3342e46
Add vanilla pg baseline tests ( #1275 )
2022-02-15 13:44:22 -05:00
Heikki Linnakangas
4ba521f53f
Add performance test case for parallel COPY TO
2021-11-15 14:49:53 +02:00