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
Vadim Kharitonov
f720dd735e
Stricter mypy linters for test_runner/fixtures/*
2022-11-10 12:47:27 +01:00
Alexander Bayandin
05f6a1394d
Add tests for different Postgres client libraries ( #2008 )
...
* Add tests for different postgres clients
* test/fixtures: sanitize test name for test_output_dir
* test/fixtures: do not look for etcd before runtime
* Add workflow for testing Postgres client libraries
2022-07-05 12:22:58 +01:00