amontalenti/elements-of-python-style
Goes beyond PEP8 to discuss what makes Python code feel great. A Strunk & White for Python.
Issues
- 0
Small linkrot items worth fixing
#52 opened by amontalenti - 0
The datetime.datetime.utcnow() switcheroo
#51 opened by amontalenti - 1
- 1
Advice on dependency pinning should be different depending on if you're writing a shared library vs a private project
#46 opened by amontalenti - 0
Broken flake8 link
#49 opened by metasim - 1
Add a description of f-strings
#41 opened by jtimmins-post20 - 0
- 1
Try to use type hints
#48 opened by Zeroto521 - 8
Reconsider the advice on exception types
#9 opened by amontalenti - 2
- 1
The origin of the zen of Python
#29 opened by marco-buttu - 0
Add note about dunder protocols that pop up in third-party libraries like numpy
#44 opened by amontalenti - 0
Shameless plug: mention wemake-python-styleguide
#40 opened by sobolevn - 0
In relation to yapf styles
#37 opened by hectorv - 3
Suggest using `textwrap.dedent()` to keep indentation even with triple-quote multi-line strings
#26 opened by maxalbert - 2
To repeat or not to repeat?
#34 opened by dhirschfeld - 4
Chinese version available
#38 opened by williamfzc - 5
- 1
"Use with for files and locks"
#30 opened by jhermann - 7
- 1
Reference PEP 257 (docstring conventions)
#18 opened by amontalenti - 1
- 2
Discourage use of subpackages
#32 opened by stxlvt - 2
- 1
- 3
- 3
Avoid numeric literals in code body (suggestion)
#12 opened by glenfant - 1
- 4
Make Python 3 the first-class citizen
#17 opened by jni - 3
Why "Always use markdown for README"?
#6 opened by nedbat - 4
import conventions
#14 opened by IuryAlves - 5
PEP 8 encourages implicit booleans.
#1 opened by coady - 5
map/filter vs comprehensions.
#3 opened by coady