Skip to content

Commit 0e7204b

Browse files
mbyrnepr2sprytnyk
authored andcommitted
Add unnecessary-pass documentation examples based on work from the pylint-errors project.
Co-authored-by: Vladyslav Krylasov <[email protected]>
1 parent e91a674 commit 0e7204b

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
class Foo:
2+
"""Foo docstring."""
3+
pass # [unnecessary-pass]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
class Foo:
2+
"""Foo docstring."""

0 commit comments

Comments
 (0)