When installing dependencies, formatting code, linting it, type-checking it, and building docs with #Poetry or #PDM, #Black, #Flake8, #Mypy and #MkDocs would previously take from 2min to several more, it now takes less than 15 seconds for the whole thing, thanks to #uv, #Ruff, #ty and #Zensical.

This is for 5 #Python versions (3.10 to 3.15).

The DX got much better ๐Ÿฅฐ

Accessing github from work is annoying.

I hope someone else in the world files a bug soon on flake8 not being compatible with a fresh python 3.12+ virtualenv, now that setuptools 82 is out and flake8 is still using the deprecated (now removed) pkg_resources.

#flake8 #python #setuptools

I think that my Python code editor is ready for 2026!

Using Flycheck and happy about how simple it was to add a custom syntax checker. ๐Ÿ‘

I've configured my Emacs to auto-switch between flake8 or ruff, and mypy or the brand new type checker "ty" depending on what's in the local environment.

Pull request to my emacs configuration with details about the implementation:
https://github.com/DavidVujic/my-emacs-config/pull/23/changes

#python #emacs #mypy #flake8 #ruff #ty #elisp #flycheck

Acabo d'alliberar una nova versio de flake8-nested-fstrings!

https://github.com/mrswats/flake8-nested-fstrings

Amb suport per python 3.14.

#Python #Flake8 #CodeQuality

GitHub - mrswats/flake8-nested-fstrings: A flake8 plugin which forbids nested fstrings.

A flake8 plugin which forbids nested fstrings. Contribute to mrswats/flake8-nested-fstrings development by creating an account on GitHub.

GitHub

Just released! ๐Ÿš€

flake8-implicit-str-concat 0.6.0

A Flake8 plugin to identify those unjoined strings that a first Black run leaves behind:
"111111111111111111111" "222222222222222222222"

I hear there's another big release tomorrow? This release adds support for Python 3.14 and for once code changes were needed due to AST deprecation removals.

Also drop support for almost-very-nearly-EOL Python 3.9.

https://github.com/flake8-implicit-str-concat/flake8-implicit-str-concat/releases/tag/0.6.0
#Python #flake8 #release #Python314 #Python39

๐ŸŽ‰ Great news for all heavy users of Spyderโ€™s editor! ๐ŸŽ‰

In 6.1 itโ€™ll give better and much faster error and warning messages!! ๐Ÿš€โšก

Thatโ€™s thanks to @charliermarsh's Ruff package and Flake8. Hope you like it!

#Spyder #Python #IDE #ruff #flake8

"FIX002 Line contains TODO, consider resolving the issue"

Vielleicht hab ich ja einfach #TODO im Code stehen, weil ich jetzt keine Lust habe, das Problem zu lรถsen ๐Ÿ˜‚

#DevLife #Developing #Python #Flake8 #Ironie

flake8 pre-commit integration for Odoo enhances code quality. Follow this comprehensive guide to set up, configure, and troubleshoot your workflow. #Odoo #flake8 #precommit

https://teguhteja.id/flake8-pre-commit-integration-for-odoo/

Flake8 Pre-commit Integration for Odoo: Simple Guide

flake8 pre-commit improves Odoo code quality with auto-checks before commits. Configure your workflow easily.

teguhteja.id

Anyone knows of a flake8 plugin (or other tool really) that would catch the following mistake:

from django.utils.translation import gettext as _
...
result, _ = function_that_returns_a_tuple()
...
print(_("translated message")) # fails

I'd like to flag usage of the `_` throwaway variable, but only when the file has `import gettext as _` (or `gettext_lazy` i guess).

#python #django #flake8

Just released: flake8-implicit-str-concat ๐Ÿš€

๐ŸŽฑ Add support for #Python 3.12-3.13, drop 3.7-3.8

๐ŸŽฑ Switch from Flit to Hatchling + hatch-vcs for dynamic versioning

๐ŸŽฑ Release to PyPI with Trusted Publishing

https://pypi.org/project/flake8-implicit-str-concat/0.5.0/

This #Flake8 plugin helps tidy up after Black:

$ cat 1.py
s = ('111'
'222')
$ black 1.py
reformatted 1.py
All done! โœจ ๐Ÿฐ โœจ
1 file reformatted.
$ cat 1.py
s = "111" "222"
$ flake8 1.py
1.py:1:10: ISC001 implicitly concatenated string literals on one line

#release

flake8-implicit-str-concat

Flake8 plugin to encourage correct string literal concatenation

PyPI