-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b74c072
commit 5019ed2
Showing
6 changed files
with
71 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Example | ||
This directory contains an example python package, named `foo`. Various | ||
string formatting inconsistencies exist to showcase how `pylint-quotes` | ||
behaves. | ||
|
||
``` | ||
pylint --load-plugins pylint_quotes . | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
"""Example package foo.""" | ||
|
||
__title__ = "foo" | ||
__version__ = '1.2.3' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
'''Other file in the example.''' | ||
|
||
|
||
class Other: | ||
"""Does one thing or another.""" | ||
|
||
@classmethod | ||
def help(cls): | ||
"""Returns a help string.""" | ||
return """ | ||
Help: | ||
This is an example class; it does nothing. | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
"""Utilities for the example project.""" | ||
|
||
|
||
def do_something(): | ||
'''Does something.''' | ||
return 'something' | ||
|
||
|
||
def do_something_else(): | ||
'''Does something else. | ||
Returns: | ||
str: A string of some sort. | ||
''' | ||
return "string1 " + 'string2' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters