42 Commits

Author SHA1 Message Date
Jörg Thalheim
4cb17d42e1 PLR2004: fix 2025-08-26 16:21:15 +02:00
Jörg Thalheim
f26499edb8 pyproject.toml: add descriptions to each rule 2025-08-26 16:21:15 +02:00
Jörg Thalheim
2857cb7ed8 remove various ignores that had no actual issue 2025-08-26 16:21:15 +02:00
Jörg Thalheim
3168fecd52 PT100: fix 2025-08-26 16:21:15 +02:00
Jörg Thalheim
24c20ff243 TRY400: fix 2025-08-26 16:21:15 +02:00
Jörg Thalheim
8ba8fda54b RUF100: fix 2025-08-26 16:21:15 +02:00
Jörg Thalheim
d5b09f18ed RET504: fix 2025-08-26 15:55:23 +02:00
Jörg Thalheim
fb2fe36c87 SIM112: fix 2025-08-26 15:55:23 +02:00
Jörg Thalheim
db5571d623 SIM108: fix 2025-08-26 15:23:36 +02:00
Jörg Thalheim
d4bdaec586 SIM102: fix 2025-08-26 15:22:25 +02:00
Jörg Thalheim
cb9c8e5b5a try{300,301,400}: fix 2025-08-26 15:17:16 +02:00
Jörg Thalheim
b2a54f5b0d PLC0415: fix 2025-08-26 14:46:42 +02:00
Jörg Thalheim
a7bce4cb19 pyproject: enable all lints 2025-08-26 12:57:31 +02:00
Johannes Kirschbauer
798c1a9277 pyproject: remove global SLF001 ignore
ignoring SLF001 (private member access) globally is not ideal, as it disables a valuable check throughout the entire codebase
disable SLF001 only for test files instead
2025-07-26 20:24:20 +02:00
Qubasa
033f34c0b8 ruff: Ignore accessed internal variable error as it is needed in tests quite often
remove incorrect doc change
2025-07-24 18:30:19 +07:00
Qubasa
6d166cc7a7 clan-app: Cleaned up http code 2025-07-09 18:45:42 +07:00
Qubasa
152ac2c07e clan-cli: Fix Ruff linting errors
clan-cli: Ruff fixes

ignore noqa lint

fix more ruff issues
2025-07-08 17:25:02 +07:00
Qubasa
ad243d843e ruff: Ignore TRY301 'raise-within-try' as there are legitimate reasons to do this 2025-07-08 17:23:32 +07:00
Jörg Thalheim
3e2459fa40 migrate all projects to python 3.13 linting 2025-07-04 18:39:01 +02:00
a-kenji
46abba7614 pyproject: Fix typo 2025-06-13 13:05:21 +02:00
Jörg Thalheim
40e23f1bdb ignore ruff A005 for now 2025-01-14 15:32:13 +01:00
Michael Hoang
92a52c851a lint: don't ignore rule that has been removed upstream 2024-12-21 10:43:17 +11:00
Qubasa
6b784f8623 clan-cli: Rework 'clan ssh' command, improve Tor support. 2024-12-13 00:11:18 +01:00
Jörg Thalheim
4af1954abf ruff: enable warning lints 2024-10-23 09:06:02 +00:00
Jörg Thalheim
29909e49d3 apply TRY lint 2024-09-03 18:13:46 +02:00
DavHau
6e16e54968 vars: make simplify vars store abstraction 2024-09-02 18:44:00 +02:00
Jörg Thalheim
8e9ed4611d use python3.11 for all projects 2024-09-02 18:28:36 +02:00
Jörg Thalheim
1fa0e72bea use pathlib everywhere 2024-09-02 18:26:13 +02:00
Jörg Thalheim
483d8ce521 add SIM lint 2024-09-02 16:39:30 +02:00
Jörg Thalheim
a17075f237 add SLOT lint 2024-09-02 16:25:11 +02:00
Jörg Thalheim
e1e39e9ae9 add SLF lint 2024-09-02 16:25:06 +02:00
Jörg Thalheim
f2460ecd7f ignore some pytest lints 2024-09-02 16:22:23 +02:00
Jörg Thalheim
cb16cda3fa add RET, Q, RSE lint 2024-09-02 15:58:49 +02:00
Jörg Thalheim
dca1bd084d add PT 2024-09-02 15:52:17 +02:00
Jörg Thalheim
8fbc76ecac add FA, ICN, ISC, LOG, PIE and PYI linting 2024-09-02 15:41:56 +02:00
Jörg Thalheim
ddaf44a91b move all ruff settings in one place 2024-09-02 14:07:06 +02:00
Jörg Thalheim
d4d7085397 sync up linter rules in all files 2024-09-02 13:40:15 +02:00
lassulus
cfdba84d9d fix pyproject syntax, ignore E731 2024-03-03 06:20:08 +01:00
Jörg Thalheim
59d1829f4d disallow variable shadowing 2023-11-30 14:31:37 +01:00
Jörg Thalheim
01dbcec6a1 make type checking more strict 2023-11-30 14:31:37 +01:00
Jörg Thalheim
d08fe82864 switch from black to ruff for formatting 2023-11-03 13:38:13 +01:00
Jörg Thalheim
431aeda14b zerotier: fix creating controller directory 2023-09-29 16:41:14 +02:00