Trending

#PEP8

Latest posts tagged with #PEP8 on Bluesky

Latest Top
Trending

Posts tagged #PEP8

Preview
Python vs Commodore BASIC - The Oasis BBS Learn Python by comparing it to Commodore BASIC while building Shadow Switcher in Pygame. A great resource for beginners and retro fans.

Python vs Commodore BASIC
#PythonProgramming #Commodore64 #ShadowSwitcher #RetroCoding #PygameTutorial #PEP8 #LearnPython #BasicVsPython

theoasisbbs.com/python-vs-co...

3 1 0 0

More and more when I'm debugging something in #django, I have to manually reformat to #pep8 so I can read it. Please stop using black.

def post(
self,
path,
data=None,
content_type=MULTIPART_CONTENT,
secure=False,
*,
....

0 0 0 0

I
keep
seeing
innocent
code
getting
mangled
by
#black.
It
might
address
a
nitpick
for
a
niche
user
group,
but
it's
a
net
negative
for
the
#python
community.
Readability
counts.
Use
#pep8.
Ditch
black
):

0 0 0 0
Original post on fosstodon.org

Checking for an empty list in Python - Python Morsels

Various methods to check if a list is empty in Python:
➡️ checking the list's length,
➡️ evaluating the list's truthiness
➡️ comparing the list to another empty list

#Python #Truthiness #PEP8 #DuckTyping #Programming […]

0 3 0 0
Post image

Concernant le #PEP8, on le fait passer avec un brin de provocation 😁, on a demandé à un élève de construire un script diabolique 😈 , les autres élèves devant le recoder proprement. 😅

0 0 0 0
Preview
GitHub - mlshapiro/jupyterlab-flake8: Jupyterlab python linter for notebooks and text files using flake8 Jupyterlab python linter for notebooks and text files using flake8 - mlshapiro/jupyterlab-flake8

Hey #Python twitter! Anyone have any recommendations for a nice #PEP8 linter for JupyterLab that works on #Jupyter notebooks?

I've found this one, but development seems to have stopped and it doesn't work with Jupyterlab v1.0+...@ProjectJupyter @ThePSF

github.com/mlshapiro/jupy…

0 0 0 0
Post image

A #python namedtuple is like defining a class, so I want to capitalize the variable. My #PEP8 linter disagrees.

0 0 0 0

Am I going crazy, or did the PyCharm 4.0 #PEP8 linter hate EOF line breaks, but 4.5 demands them?

0 0 0 0

I painstakingly adhere to #PEP8 in my code, but I invariably have to access modules that don't. My IDE is giving me the evil eye.

0 0 0 0

RT @jacobburch: We won! We won! No governing body can tell -me- how long my lines can be! #PEP8

0 0 0 0