-
I just migrated some of my projects over to using ruff, and I am EXTREMELY impressed. It is quite literally 100 times faster than my previous linting configuration, all while being more organized and powerful. It's mind boggling fast. It has all of the plugins builtin that I was previously using with tools like flake8. It hooks into `pre-commit` and replaces many plugins I had before like:
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
By the way, if you want to checkout my python template, it has my preferred ruff configuration:https://github.com/BrianPugh/python-template
-
The whole point of Black is that it's opinionated and that it knows better than you. I can always recommend you read the single quotes incident on GitHub to gain more insight about what Black really is: https://github.com/psf/black/issues/118
-
- add the [prabirshrestha/vim-lsp](https://github.com/prabirshrestha/vim-lsp) plugin and config to your `.vimrc` (note: `pylsp` is *not* necessary).
-
prospector
Inspects Python source files and provides information about type and location of classes, methods etc
Just before discovering ruff, I was already migrating to PyCQA/prospector to simplify my configs...
-
In the same vein as LSP/pre-commit/Ruff/Black, I found the treefmt (rust) project very promising.
-
flake8-bandit uses bandit behind the scenes: https://github.com/tylerwince/flake8-bandit/blob/main/flake8_bandit.py ruff doesn't and implements the rules directly
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Related posts
-
Top Tools for Static Analysis Help in Your Python Projects
-
Makefile for your Django project
-
Automatically find and remove unused import statements in your project.
-
One secret tip for first-time OSS contributors. Shh! 🤫 don't tell anyone else
-
Automated Testing in Python with pytest, tox, and GitHub Actions