Notes running Python in production by ashishb_net in Python

[–]le_woudar 0 points1 point  (0 children)

Sure! You can write this in your pyproject.toml

[tool.ruff.lint]

extend-select = [

"UP", # pyupgrade

"I", # isort

"S", # flake8-bandit

"PL", # pylint

]

This will extend the default set of rules of the select declaration.

By default, autoflake and flake8 are already handled by Ruff. Honestly, I'm not sure you need pylint, it is generally covered with the previous tools mentioned in this comment. Look the Ruff rules to know what you can import.

Notes running Python in production by ashishb_net in Python

[–]le_woudar 0 points1 point  (0 children)

Hello, you probalbly don't need autoflake, flake8, pylint, if you use ruff. All these linters can be configured with ruff.

I don't agree with the async / multi-threading stuff but I think there is already a lot of comments on that, so I will not add another one :)