reorder-python-imports
ruff
reorder-python-imports | ruff | |
---|---|---|
2 | 104 | |
737 | 31,665 | |
- | 3.9% | |
7.1 | 10.0 | |
about 2 months ago | 3 days ago | |
Python | Rust | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
reorder-python-imports
-
Boring Python: Code Quality
Two developers on the same python project should also use the same version... with poetry it is straightforward to keep track of dev dependencies. Reorder python imports is an alternative for isort: https://github.com/asottile/reorder_python_imports
- Should I follow the warnings in Pycharm? Does anyone do this?
ruff
-
Personal Finance Management App with Django, HTMX, Alpine, Tailwind and Plaid
I’ve been using Ruff, which is a very fast Python linter and code formatter, built in Rust. It handles a bunch of tools all in one, like Black, isort, and more.
-
Python 3.13.0 Is Released
I agree, it's unreasonable to expect devs to know the whole standard library. The VSCode extension Pylance does give a warning when this happens. I thought linters might also check this. The one I use doesn't, maybe the issue[0] I just created will lead to it being implemented.
[0]: https://github.com/astral-sh/ruff/issues/13676
-
Fast Development: Lint
Ruff is incredibly fast and does 80% of what I want -- that's my go-to for finding bugs for me to fix.
-
Current problems and mistakes of web scraping in Python and tricks to solve them!
As I personally would like to see an HTTP client for Python developed and maintained by a major company. And Rust shows itself very well as a library language for Python. Let's remember at least Ruff and Pydantic v2.
-
Integrating the ruff language server
I want to add linting capabilities to Satyrn (a Jupyter notebook client application I'm working on), so I looked into integrating ruff, a python linting and code formatting tool. This tool follows the Language Server Protocol, so as long as I can figure out how to follow that protocol, I should be able to use it in my app.
-
Supercharge Your Python Toolkit with These Powerful Tools
2. Ruff: Superfast Linting and Formatting
- NumPy 2.0.0
-
Ruff: The Extensible Python Linter
Ruff is an open-source Python linter created by Astral Sh that stands out for its impressive speed, adaptability, and wide-ranging features.
-
Introducing Tapyr: Create and Deploy Enterprise-Ready PyShiny Dashboards with Ease
Leverage Python Tools: Tapyr takes advantage of Python’s ecosystem tools, including ruff, pytest, and others.
-
Ask HN: High quality Python scripts or small libraries to learn from
I think I mention this all the time when this comes up, but I learned the most 'best practices' through using ruff.
https://docs.astral.sh/ruff/
I just installed and enabled all the rules by setting
What are some alternatives?
mirrors-mypy - Mirror of mypy for pre-commit
black - The uncompromising Python code formatter
cookiecutter-hypermodern-python - Hypermodern Python Cookiecutter
mypy - Optional static typing for Python
mirrors-clang-format - mirror of https://github.com/ssciwr/clang-format-wheel for pre-commit
pyright - Static Type Checker for Python
Pylint - It's not just a linter that annoys you!
flake8
Flake8 - flake8 is a python tool that glues together pycodestyle, pyflakes, mccabe, and third-party plugins to check the style and quality of some python code.
pyenv - Simple Python version management
pre-commit - A framework for managing and maintaining multi-language pre-commit hooks.