An early start to the morning to head to the far west of England to see a Buff-breasted Sandpiper on Marazion Beach, Cornwall. The beach was full of waders - Turnstone, Ringed Plover, Sanderling, Knot as well a Little Stint and a Ruff. Caught the latter two and the Sandpiper together in a real lucky video.
#Birds #birding #Cornwall #Marazion #nature #wildlife #BirdsOfMastodon #LittleStint #Ruff #SundayFunday #GoodTimes
#goodtimes #sundayfunday #ruff #littlestint #birdsofmastodon #wildlife #nature #marazion #cornwall #birding #birds
I've been using #ruff for quite a while now but I never bothered configuring it much. Now @brianokken mentioned [this article](https://406.ch/writing/how-ruff-changed-my-python-programming-habits) on one of the more recent @pythonbytes episodes and I had a closer look at what's possible. Seems like I missed out on quite a bit.
Another visit to Bowling Green Marsh, #Exeter, #Devon over high tide and the mud was full of #Redshank, #Dunlin, #Godwit (mostly Black-tailed but a couple of Bar-tailed for good measure), #Curlew, #Whimbrel #Ruff, #Knot and three Kingfisher. The evening sun made for good light along with a pleasant group of people in the hide.
#Birds #BirdsOfMastodon #Birding #wildlife #nature #Sunday #goodtimes
📷 #Kingfisher (a male I think as I couldn't see any red on the bill).
#kingfisher #goodtimes #sunday #nature #wildlife #birding #birdsofmastodon #birds #knot #ruff #whimbrel #curlew #godwit #dunlin #redshank #devon #exeter
I’ve published release 0.34.0 of the #Pynguin test generator for #Python. Many changes are internal, i.e., they affect developers, because I’ve activated many more checkers in the #Ruff linter. On the user-side there are a couple of more stopping conditions for the test-generation algorithms. The release is available from https://pypi.org/project/pynguin/, the code is on GitHub (https://github.com/se2p/pynguin/releases/tag/0.34.0).
Happy #testing and #generating.
#pynguin #python #ruff #testing #generating
I'm experimenting with a new #Python linter called #ruff https://github.com/astral-sh/ruff - it's supposed to be wicked fast and is built with #Rust - so far so good.
Nevermind already found something to be excited about
#ruff !!
My previous VSCode version was incompatible, and now I get to use this beauty of a linter :D
The latest hotness in the #Python world seems to be Ruff, an *extraordinarily* fast linter written in Rust. I added it to my project at work and got the combined functionality of pyflakes, isort, autoflake and bandit. It also covers flake8 and a lot of flake8 plugins. Over 500 rules and counting.
It combines well with mypy, black and pre-commit.
#python #lint #ruff #pyflakes #rust
@pythonhub
If have only one #python extension to install on #vscode it is #ruff
https://github.com/astral-sh/ruff
The #Python linter #ruff is awesome and the project got converted into a VC funded company / startup. Great if it helps them to get paid and develop further, but I can't help but wonder what is their long term game.
https://astral.sh/blog/announcing-astral-the-company-behind-ruff
@python_discussions That's not true. You need to specify `__all__` in `__init__.py` (and other facades) so that #mypy, #flake8, and #ruff 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.
@pmidden I'm thrilled with my current linting solution (#ruff) but I'm yet to find an autocompletion solution that doesn't slow to a crawl when I've imported one too many large untyped packages.
I really enjoy #python but I, too, would welcome an interlude with a statically typed language right now!
RT @tiangolo finished migrating @FastAPI
to astral_sh
Ruff from @charliermarsh
😎
I replaced 3 tools with Ruff... and I think it runs orders of magnitude faster 🚀
If you want a simple rule of thumb for linting/formatting Python, use these together:
* mypy
* Black
* Ruff
@glowrocks That's great! I'm glad to hear it empowers you to achieve your goals.
If you need guidance on more classic and reliable tools, just ask. In #python, I recommend to have a look at #ruff and #mypy, if you haven't already. These are good for finding simple errors without running the code. And Deal and Hypothesis should help with generating tests.
@lulu_powerful since I moved from Atom to VSCode, the main feature I was missing for #python is on-the-fly linting and not just when I save the file. And now, thanks to #ruff, I can have this amazing experience again.
RT @tiangolo finished migrating @FastAPI
to astral_sh
Ruff from @charliermarsh
😎
I replaced 3 tools with Ruff... and I think it runs orders of magnitude faster 🚀
If you want a simple rule of thumb for linting/formatting Python, use these together:
* mypy
* Black
* Ruff