Adam Johnson :django: :python: · @adamchainz
979 followers · 1553 posts · Server fosstodon.org

✍️ New post introducing my new plugin that checks your usage of ’s logging module.

adamj.eu/tech/2023/09/07/intro

#flake8 #python

Last updated 1 year ago

Brian Pepple :fedora: :python: · @brian
255 followers · 667 posts · Server pepple.us

Spent some time this afternoon migrating one of my projects to use instead of . Definitely faster overall and maybe worth using in any future project.

#ruff #flake8 #python

Last updated 1 year ago

gram · @orsinium
76 followers · 263 posts · Server fosstodon.org

@warrickball @pyodide I use pyodide to run a whole bunch of things. For example:

IDE for drawing images with :
svg.orsinium.dev/

with plugins:
wps.orsinium.dev/

#svg #python #flake8

Last updated 1 year ago

gram · @orsinium
45 followers · 149 posts · Server fosstodon.org

@python_discussions That's not true. You need to specify `__all__` in `__init__.py` (and other facades) so that , , and know that these packages are imported to be exported. Then flake8 and ruff won't report unused import and mypy will allow reexports from the module.

#mypy #flake8 #ruff #python

Last updated 1 year ago

ljmc ~͛ :unverified: :python: · @ljmc
3 followers · 12 posts · Server fosstodon.org

Having recently tested I find my toolchain for does 98% of the code quality job, the rest being covered by code review. What do you think and what do you use ?

#sonarqube #black #isort #flake8 #mypy #python

Last updated 1 year ago

__coatldev__ · @__coatldev__
1 followers · 9 posts · Server fosstodon.org
Katie Patterson · @kirska
114 followers · 151 posts · Server universeodon.com

The first thing I did upon returning to work was replace with for our entire repo. It's cut every one of our test runs by several minutes.

#flake8 #ruff #python #win #software #programming

Last updated 1 year ago

Remi · @remi
62 followers · 555 posts · Server universeodon.com

Hmmm... invoked doesn't seem to be picking up the home directory .flake8 file. One of those weird things where I never know where an application thinks $HOME is in Windows (even though ~ takes me right there)

#emacs #flymake #flake8

Last updated 1 year ago

super(Josh, self).__init__() · @diji
14 followers · 70 posts · Server mastodon.social

Switching my project at work from to . Pretty blown away about how great it is. Fast, compact, and configurable.

#python #flake8 #ruff

Last updated 1 year ago

aegilops :github::microsoft: · @aegilops
118 followers · 416 posts · Server fosstodon.org

@markwalker it found things not picked up by Flake8 earlier today

#ruff #flake8 #linting #python

Last updated 1 year ago

Hmmm why can I not get to work in my config yet it will work on the command line ?
I have in my ~/.config the file flake8 and it's config to ignore F401
Strange as it used to work with neovim using an init.vim now I'm on lua nothing. I used to be able to comment end of lines with # noqa: F401

Config here if it helps ??
codeberg.org/JustineSmithies/q

#flake8 #neovim

Last updated 2 years ago

James C :python: · @jamescooke
13 followers · 55 posts · Server fosstodon.org

Had no idea about the warns() context manager until this bug was opened in -aaa github.com/jamescooke/flake8-a Reading the docs, it seems there are quite a few Pytest context managers that Flake8-AAA needs to support that I’ve completely overlooked. 😬

#pytest #flake8

Last updated 2 years ago

k69 · @k69
0 followers · 1 posts · Server mstdn.jp

Twitter 「VSCodeにPython開発環境を作る方法」の
ブログ記事を書きました

k69blog.com/posts/python-env-v

これからPython開発を方は
是非参考にしてください😆




#vscode #エンジニアと繋がりたい #駆け出しエンジニアと繋がりたい #flake8 #autopep8 #venv #python

Last updated 2 years ago

John Young · @jsy1001
30 followers · 27 posts · Server qoto.org

I'm in the process of switching from flake8-import-order to flake8-alphabetize. The former doesn't work with v6.0 and newer due to removal of a deprecated API.

#flake8 #python

Last updated 2 years ago

Matthew Badger · @matthewbadger
33 followers · 14 posts · Server fosstodon.org

That's strange, my pre-commit hooks are working locally but failing on GitLab CI... let's search that error code.

Oh dear.

#python #flake8

Last updated 2 years ago

Matthew Badger · @matthewbadger
41 followers · 33 posts · Server fosstodon.org

That's strange, my pre-commit hooks are working locally but failing on GitLab CI... let's search that error code.

Oh dear.

#python #flake8

Last updated 2 years ago

Anita Graser 🇪🇺🇺🇦 · @underdarkGIS
1317 followers · 171 posts · Server fosstodon.org

If your linting actions suddenly started failing, it's likely due to flake8 moving to GH. It's an easy fix once you know how:
github.com/anitagraser/movingp

#github #flake8

Last updated 2 years ago

Paolo Melchiorre · @paulox
481 followers · 295 posts · Server fosstodon.org

@pamelafox @brettcannon @charliermarsh I want use it for sue. 👍
I saw that already other developers I trust have moved from to , for example @tiangolo with and @samuelcolvin with

#flake8 #ruff #fastapi #pydantic

Last updated 2 years ago

Paolo Melchiorre · @paulox
481 followers · 295 posts · Server fosstodon.org

TIL is an extremely fast 🐍 written in 🦀

ruff can be up to 150x faster than and supports file

I will definitely try it 👍

github.com/charliermarsh/ruff

#ruff #python #linter #rust #flake8 #pyproject #toml

Last updated 2 years ago

MiaPlan.de · @miaplan
32 followers · 261 posts · Server social.tchncs.de

PyLint ist gut aber relativ langsam. Deshalb werden wir demnächst folgendes testen:

Alternative mit -bugbear

coala.io/#/home?lang=Python#in
github.com/PyCQA/flake8-bugbea

#flake8 #coala #pylint

Last updated 2 years ago