issues
search
amontalenti
/
elements-of-python-style
Goes beyond PEP8 to discuss what makes Python code feel great. A Strunk & White for Python.
3.44k
stars
260
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
The datetime.datetime.utcnow() switcheroo
#51
amontalenti
opened
9 months ago
0
Extended section on tooling
#50
metasim
closed
2 years ago
5
Broken flake8 link
#49
metasim
opened
4 years ago
0
Try to use type hints
#48
Zeroto521
opened
4 years ago
1
Assignments/function calls in a return statement?
#47
gamesbook
opened
4 years ago
2
Advice on dependency pinning should be different depending on if you're writing a shared library vs a private project
#46
amontalenti
opened
4 years ago
1
Add a note about the typing module and gradual typing
#45
amontalenti
opened
4 years ago
1
Add note about dunder protocols that pop up in third-party libraries like numpy
#44
amontalenti
opened
4 years ago
0
Add reference to PEP8 style summary in the Python official docs
#43
amontalenti
opened
4 years ago
0
Fixes issue #41 with a reference to f-strings to address issue #41
#42
blaisep
opened
5 years ago
0
Add a description of f-strings
#41
jtimmins-post20
opened
5 years ago
1
Shameless plug: mention wemake-python-styleguide
#40
sobolevn
opened
5 years ago
0
Add Simplified-Chinese version
#39
williamfzc
closed
6 years ago
3
Chinese version available
#38
williamfzc
closed
6 years ago
4
In relation to yapf styles
#37
hectorv
opened
6 years ago
0
Add "error early" section
#36
nvie
closed
4 years ago
1
Update max-line-length flake8 config URL
#35
elyezer
closed
1 year ago
1
To repeat or not to repeat?
#34
dhirschfeld
opened
7 years ago
2
Fix indent
#33
methane
closed
8 years ago
0
Discourage use of subpackages
#32
stxlvt
closed
8 years ago
2
Should we discuss ./src/mypackage vs ./mypackage for project layout?
#31
stxlvt
opened
8 years ago
5
"Use with for files and locks"
#30
jhermann
opened
8 years ago
1
The origin of the zen of Python
#29
marco-buttu
opened
8 years ago
1
Update docstrings section for clarity and fix code sample indentation
#28
cdcme
opened
8 years ago
1
To consider: multi-line list / tuple / dict formatting
#27
amontalenti
opened
8 years ago
1
Suggest using `textwrap.dedent()` to keep indentation even with triple-quote multi-line strings
#26
maxalbert
opened
8 years ago
3
Use line length limit on docs too
#25
guibog
closed
8 years ago
2
"Good" example for "Flat is better than nested" can be optimized
#24
ulope
closed
8 years ago
1
An even better improvement to the dedupe() section
#23
amontalenti
closed
8 years ago
9
Add conventions for comparing True and False
#22
RussellLuo
closed
7 years ago
2
Explained declarative vs. imperative a bit
#21
TheNeuralBit
closed
8 years ago
2
Reconsider the suggestion of one-char "_" label, due to gettext.install()
#20
RealJTG
closed
8 years ago
3
Make improvements to dedupe(), add new rule on in-place modifications
#19
amontalenti
closed
8 years ago
7
Reference PEP 257 (docstring conventions)
#18
amontalenti
opened
8 years ago
1
Make Python 3 the first-class citizen
#17
jni
closed
8 years ago
4
Use present imperative for docstrings
#16
jni
closed
8 years ago
3
discourage multiple exit points in a method (multiple return)
#15
daodennis-zz
opened
8 years ago
7
import conventions
#14
IuryAlves
closed
8 years ago
4
Make bad dedupe(x) do the same as good dedupe(x)
#13
j6k4m8
closed
8 years ago
3
Avoid numeric literals in code body (suggestion)
#12
glenfant
closed
8 years ago
3
Remove "Look" from start of sentences
#11
kevinlondon
closed
8 years ago
1
Declarative vs imperative references / summary
#10
amontalenti
closed
8 years ago
1
Reconsider the advice on exception types
#9
amontalenti
opened
8 years ago
8
Use of numpy style or google style docstrings
#8
glenfant
closed
8 years ago
2
Adding about frameworks and their risks.
#7
felipevolpone
closed
8 years ago
1
Why "Always use markdown for README"?
#6
nedbat
closed
8 years ago
3
Update README.md
#5
randyzwitch
closed
8 years ago
1
Point to alternative formats for docstrings
#4
jiffyclub
opened
8 years ago
21
map/filter vs comprehensions.
#3
coady
closed
8 years ago
5
fixed parens
#2
norbert-sebok
closed
8 years ago
1
Next