Ruff: Python linter and code formatter written in Rust
Article URL:https://github.com/astral-sh/ruffComments URL:https://news.ycombinator.com/item?id=42775029Points: 116# Comments: 55
https://github.com/astral-sh/ruff
Python in Excel実践プラクティスの紹介
https://gihyo.jp/article/2025/01/monthly-python-2501?utm_source=feed
#gihyo #技術評論社 #gihyo_jp #Python #Excel #Python_in_Excel
#Programming #Python #JavaScript #CSharp #HTML #Code #WebDevelopment #Tech #Developers #SoftwareDevelopment
https://github.com/TheAlgorithms/Python
#Programming #Python #JavaScript #CSharp #HTML #Code #WebDevelopment #Tech #Developers #SoftwareDevelopment
Jestem wyjątkowo uprzedzony do projektów, które używają domyślnych komunikatów do zatwierdzeń gita z GitHuba, tj. "Update setup.py", "Update <inny-plik>", bez jakiegokolwiek użytecznego komentarza.
Ale podejrzewam, że moje uprzedzenie niewiele znaczy, bo przecież już musiałem trafić na coś problematycznego, skoro zajrzałem w historię projektu. Coś w stylu założenia, że `X in os.environ or True` może zwrócić fałsz.
No i tak, oczywiście, że to całkiem popularna paczka. W "najpopularniejszych 2000" na PyPI.
Created a ~100 line Python program that worked just fine, and then some evil force possessed my soul 😈
"Hmm, maybe I'll do a little functional decomposition on it."
"Oooh, that should really be a class instead."
"Those should really be factored out into their own modules."
Wow: ~643 lines spread across 4 files now. 😩
Remembered and searched the web for "Evolution of a Programmer".
Now back to the orginal ~100 line Python program.
#EvolutionOfAProgrammer #Python #KISS #DRY #Programming
😄
I am extremely prejudiced against projects that use default #GitHub commit messages, i.e. all their commit history is "Update setup.py", "Update <some other file>", with zero meaningful comments.
That said, I suppose prejudice means little, given that I already needed to have something bad to report to see these commit messages. Something like the author assuming `X in os.environ or True` may actually return False.
And yes, it's quite a popular package. One from PyPI's "top 2000".
Advent of Code Day 11 had a clever misdirection! I even used my FSM library, Genstates, to model the transformations. Blog post explains all! Open to Python dev roles. 😉 https://kitfucoda.medium.com/finally-an-application-for-my-fsm-library-advent-of-code-2024-day-11-714b6f0faf86 #AdventOfCode #Python #Genstates #FSM #fedihire #opentowork
Made a primitive system to draw simple scalable #flags on the #terminal just for fun. https://github.com/panzi/python-term-flags #Python
HypothesisでProperty-Based Testingを始めてみた
https://dev.classmethod.jp/articles/pbt-hypothesis-python/
#dev_classmethod #Test #pytest #Python #UnitTest #テスト自動化 #ツール
Ruff: Python linter and code formatter written in Rust
Link: https://github.com/astral-sh/ruff
Discussion: https://news.ycombinator.com/item?id=42775029
Magnetron is a minimalist machine learning framework built entirely from scratch.
https://github.com/MarioSieg/magnetron
Discussions: https://discu.eu/q/https://github.com/MarioSieg/magnetron