Commit Graph

56 Commits

Author SHA1 Message Date
Meng Xiangzhuo
4cd4660357
Remove setup.py 2024-10-13 23:22:10 +08:00
Matthias
4c3c2eaa3b chore: update ruff target version to 3.9 2024-10-04 07:11:06 +02:00
Matthias
cd63abba5b chore: update documentation to mention 3.10+ compat 2024-10-01 06:41:05 +02:00
Matthias
97c937e554 chore: add Bugbear Ruff checking 2024-09-01 08:32:42 +02:00
Matthias
ca3dee7b37 chore: add setting to avoid deprecation warning from pytest-asyncio 2024-08-29 20:24:52 +02:00
Matthias
4a4e6bc952 chore: fix flake8-builtins overrides 2024-07-05 08:51:23 +02:00
Matthias
8296e7010c chore: enable NPY ruff rules 2024-07-05 08:41:25 +02:00
Matthias
c4bc5356d1 Add Ruff Async checks 2024-07-02 20:53:18 +02:00
Matthias
36ad3bff62 Fix /tmp usage in tests 2024-06-08 09:42:01 +02:00
Matthias
e3b8e21b76 chore: Enable ruff "S" rule (bandit) 2024-06-08 09:33:15 +02:00
Matthias
0f080a871a Control pytest log formatting 2024-06-03 21:00:22 +02:00
Matthias
6952bac91f fix: codespell skip's to also work correctly on pre-commit hooks 2024-05-28 07:01:53 +02:00
Matthias
9705f40cb5 Exclude leverage tier cache from codespell 2024-05-28 06:37:44 +02:00
Matthias
ccb395c6c5 Ruff rule (commented for now) 2024-05-13 07:10:25 +02:00
Matthias
ab3dbb7fbc Allow flake E203 -
Incompatible with ruff ...
https://github.com/astral-sh/ruff/issues/8752
2024-05-13 07:10:25 +02:00
Matthias
baa15f6ed6 Setup known first party modules 2024-05-13 07:10:24 +02:00
Matthias
38c69e9258 Update isort configuration 2024-05-13 07:10:24 +02:00
Matthias
c8ebaef936 Update isort config 2024-05-13 07:10:24 +02:00
Matthias
b9b044585d Add but comment a few ruff rules 2024-04-20 10:25:23 +02:00
Matthias
a375e686de Add some ruff configurations 2024-04-20 10:13:14 +02:00
Matthias
a41b38e94f Add configuration for codespell 2024-04-19 07:02:39 +02:00
Matthias
b1c83ce189 Exclude build dir from mypy 2024-03-31 09:35:17 +02:00
Matthias
e75d46321e Exclude user_data 2024-03-29 07:47:27 +01:00
Matthias
26311663e3 Add classifier for python 3.12 2024-03-29 07:37:21 +01:00
Matthias
4aef5676d7 update tool.ruff configuration to match 2.0 version 2024-02-05 18:10:11 +01:00
Matthias
02836368fb add default --dist loadscope arg to pytest options 2023-12-28 11:07:41 +01:00
Matthias
58470ba9d0 Fix missing files in wheels 2023-12-17 09:30:09 +01:00
Matthias
b178cc5f31 Migrate from setup.cfg to pyproject.toml 2023-12-16 20:51:46 +01:00
Matthias
6ee0f16e4f Migrate flake8 config to pyproject.toml 2023-12-16 20:32:37 +01:00
Matthias
9dcf236387 Align flake and ruff configs further 2023-10-23 18:06:31 +02:00
Matthias
fd4877759c Update hard min-requirement for python 2023-09-18 18:12:39 +02:00
Matthias
3f85f3cce6 Exclude UP036 for now 2023-09-18 07:08:08 +02:00
Matthias
91fd472717 Extend ruff excludes to .venv 2023-08-16 13:16:23 +02:00
Matthias
1c2dd884e9 Remove dependency workarounds in place for gym 2023-05-02 07:12:46 +02:00
Matthias
dfe8b3e832 Improve ruff rule selection 2023-04-17 20:33:19 +02:00
Matthias
ebebcb886c Move build-system to the top of pyproject.toml 2023-03-21 19:28:26 +01:00
Matthias
ce3efa8f00 Remove pointless asserts 2023-03-19 18:05:08 +01:00
Matthias
c92f28bf6f ruff: Activate UP ruleset 2023-03-19 17:57:56 +01:00
Matthias
3a9d83f86c Mypy: define sqlalchemy plugin 2023-03-01 20:32:31 +01:00
Matthias
756c284ecd
Merge pull request #8225 from freqtrade/ruff2
Ruff - add PTH rule and subsequent changes
2023-03-01 20:27:06 +01:00
Matthias
305eda74e2 Enable Complexity for ruff 2023-02-25 20:50:26 +01:00
Matthias
26315b6bc2 add PTH ruff selection 2023-02-25 17:17:05 +01:00
Matthias
6b829d839b Improve ruff config 2023-02-23 07:12:54 +01:00
Matthias
549a0e1c44 Add ruff linting - initial configuration 2023-02-22 21:06:11 +01:00
Matthias
79d0fd937c Update pyright config to align with mypy 2023-01-21 20:05:33 +01:00
Matthias
741d2db334 Enable implicit_optional for telegram 2023-01-21 20:02:16 +01:00
Matthias
795934116d Remove optional_untyped from config 2023-01-21 20:02:12 +01:00
Matthias
f27be7ada8 Configure mypy to old behavior
based on https://mypy-lang.blogspot.com/2022/11/mypy-0990-released.html release
2022-11-14 20:52:40 +01:00
Matthias
537d10c627 Improve some typing 2022-05-25 20:43:43 +02:00
Matthias
b2968df5dc Fix some type problems 2022-05-25 10:13:37 +00:00