16 Commits

Author SHA1 Message Date
un-pogaz
c10d407f59 convert tab indent to space (manual)
ruff 'W191'
2025-01-24 11:14:10 +01:00
Kovid Goyal
3e58252176
automated upgrade of python code using ruff and ./setup.py upgrade_source_code 2025-01-22 09:44:19 +05:30
Kovid Goyal
dd71135591
Bump minimum Python version to 3.10
3.8 is EOLed and 3.9 will be EOLed in a few months. 3.10 thus makes a
good base and matches the minimum Python version on my other big Python
project, kitty, so I dont have to keep multiple feature sets in mind
when developing.
2025-01-22 09:37:33 +05:30
un-pogaz
c1f7c9dd95 add option --strict to 'setup.py check'
Perform the checking more strictely. See the file "ruff-strict-pep8.toml"
2025-01-13 19:38:41 +01:00
un-pogaz
e4c469a1e2 add 'INT' rule to errors checking 2024-12-16 19:10:55 +01:00
un-pogaz
8c9d880f41 pep8
improvement of Ruff settings
2024-12-15 13:17:49 +01:00
un-pogaz
9090d624b1 Qt Wrapper complitant to pep8 2024-12-15 13:17:48 +01:00
Kovid Goyal
cc1b698cde
fix isort on rapydscript handling of __python__ 2024-03-30 10:34:03 +05:30
Kovid Goyal
63289d8294
Switch to ruff based isort 2024-03-30 09:24:18 +05:30
Kovid Goyal
c7250ed3aa
Move required python version into pyproject.toml 2024-03-29 13:17:09 +05:30
Kovid Goyal
c373d8c93d
... 2024-03-29 12:24:52 +05:30
Kovid Goyal
0da36a9835
Use ruff for auto-format 2024-03-29 12:05:34 +05:30
Kovid Goyal
b339bc343f
Disable pylsp-mypy 2024-03-28 19:29:05 +05:30
Kovid Goyal
1f1e08980c
ruff changed how it likes to be configured 2024-02-05 14:42:13 +05:30
Paolo Melchiorre
16fbab9362
Fix minimum required Python version for ruff, black and pyupgrade 2023-11-22 11:37:17 +01:00
Kovid Goyal
a981e08b2c
Move to ruff and pyproject.toml 2023-01-10 19:09:26 +05:30