Hi all, Looking for code analysis tools that can ...
# random
y
Hi all, Looking for code analysis tools that can automate as much checks as possible, such as typos, code format, docs language, etc. With the goal to have as strict toolchain as possible. This is what I'm using now:
Copy code
dev = [
    "codespell~=2.3.0",
    "import-linter==2.1",
    "mypy~=1.13.0",
    "pre-commit~=4.0.0",
    "pytest~=8.3.3",
    "ruff==0.7.1",
]
Are there any other tools you can recommend? (I did ask ChatGPT but the suggestions aren't great). Assuming that things like
isort
,
black
,
flake8
etc. are all covered by
ruff
.
j
I think import-linter might be part of ruff too!
I didn’t know codespell
I think mypy + pytest + ruff is perfect
y
Import linter is not part of
ruff
,
isort
is 🙂
Codespell is great, it catches so many typos
In context of Kedro projects, I use import linter to prohibit cross-pipeline imports
d
Unpin them! Your ruff is really old.
y
@Deepyaman Datta it’s < 2 month old 🧐
d
Oops. 😅 I thought it was older.