-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests of the modified python files.
- Loading branch information
1 parent
039bf02
commit b0acccf
Showing
27 changed files
with
170 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
8 changes: 8 additions & 0 deletions
8
tests/test_flake8_dunder_all_/test_check_and_add_all_async_function_no___all___._py_
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 @@ | ||
|
||
"""a docstring""" | ||
import foo | ||
|
||
__all__ = ["a_function"] | ||
|
||
|
||
async def a_function(): ... |
8 changes: 8 additions & 0 deletions
8
tests/test_flake8_dunder_all_/test_check_and_add_all_class_no___all___._py_
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 @@ | ||
|
||
"""a docstring""" | ||
import foo | ||
|
||
__all__ = ["Foo"] | ||
|
||
|
||
class Foo: ... |
1 change: 1 addition & 0 deletions
1
tests/test_flake8_dunder_all_/test_check_and_add_all_from_import_._py_
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 @@ | ||
from foo import bar |
10 changes: 10 additions & 0 deletions
10
tests/test_flake8_dunder_all_/test_check_and_add_all_function_and_class_no___all___._py_
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,10 @@ | ||
|
||
"""a docstring""" | ||
import foo | ||
|
||
__all__ = ["Foo", "a_function"] | ||
|
||
|
||
class Foo: ... | ||
|
||
def a_function(): ... |
9 changes: 9 additions & 0 deletions
9
tests/test_flake8_dunder_all_/test_check_and_add_all_function_and_class_with___all___._py_
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,9 @@ | ||
|
||
"""a docstring""" | ||
import foo | ||
|
||
__all__ = ["Foo", "a_function"] | ||
|
||
class Foo: ... | ||
|
||
def a_function(): ... |
11 changes: 11 additions & 0 deletions
11
...nder_all_/test_check_and_add_all_function_and_class_with___all___and_extra_variable_._py_
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,11 @@ | ||
|
||
"""a docstring""" | ||
import foo | ||
|
||
|
||
__version__: str = "1.2.3" | ||
__all__ = ["Foo", "a_function"] | ||
|
||
class Foo: ... | ||
|
||
def a_function(): ... |
8 changes: 8 additions & 0 deletions
8
tests/test_flake8_dunder_all_/test_check_and_add_all_function_no___all___._py_
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 @@ | ||
|
||
"""a docstring""" | ||
import foo | ||
|
||
__all__ = ["a_function"] | ||
|
||
|
||
def a_function(): ... |
3 changes: 3 additions & 0 deletions
3
tests/test_flake8_dunder_all_/test_check_and_add_all_import_and_docstring_._py_
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,3 @@ | ||
|
||
"""a docstring""" | ||
import foo |
1 change: 1 addition & 0 deletions
1
tests/test_flake8_dunder_all_/test_check_and_add_all_just_a_docstring_._py_
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 @@ | ||
"""a docstring""" |
1 change: 1 addition & 0 deletions
1
tests/test_flake8_dunder_all_/test_check_and_add_all_just_an_import_._py_
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 @@ | ||
import foo |
10 changes: 10 additions & 0 deletions
10
tests/test_flake8_dunder_all_/test_check_and_add_all_lots_of_lines_._py_
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,10 @@ | ||
|
||
"""a docstring""" | ||
import foo | ||
|
||
__all__ = ["a_function"] | ||
|
||
|
||
|
||
|
||
async def a_function(): ... |
5 changes: 5 additions & 0 deletions
5
tests/test_flake8_dunder_all_/test_check_and_add_all_overload_._py_
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,5 @@ | ||
|
||
"""a docstring""" | ||
|
||
@overload | ||
def a_function(): ... |
8 changes: 8 additions & 0 deletions
8
tests/test_flake8_dunder_all_/test_check_and_add_all_tuples_async_function_no___all___._py_
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 @@ | ||
|
||
"""a docstring""" | ||
import foo | ||
|
||
__all__ = ("a_function", ) | ||
|
||
|
||
async def a_function(): ... |
8 changes: 8 additions & 0 deletions
8
tests/test_flake8_dunder_all_/test_check_and_add_all_tuples_class_no___all___._py_
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 @@ | ||
|
||
"""a docstring""" | ||
import foo | ||
|
||
__all__ = ("Foo", ) | ||
|
||
|
||
class Foo: ... |
1 change: 1 addition & 0 deletions
1
tests/test_flake8_dunder_all_/test_check_and_add_all_tuples_from_import_._py_
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 @@ | ||
from foo import bar |
10 changes: 10 additions & 0 deletions
10
...test_flake8_dunder_all_/test_check_and_add_all_tuples_function_and_class_no___all___._py_
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,10 @@ | ||
|
||
"""a docstring""" | ||
import foo | ||
|
||
__all__ = ("Foo", "a_function", ) | ||
|
||
|
||
class Foo: ... | ||
|
||
def a_function(): ... |
9 changes: 9 additions & 0 deletions
9
...st_flake8_dunder_all_/test_check_and_add_all_tuples_function_and_class_with___all___._py_
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,9 @@ | ||
|
||
"""a docstring""" | ||
import foo | ||
|
||
__all__ = ("Foo", "a_function", ) | ||
|
||
class Foo: ... | ||
|
||
def a_function(): ... |
11 changes: 11 additions & 0 deletions
11
...l_/test_check_and_add_all_tuples_function_and_class_with___all___and_extra_variable_._py_
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,11 @@ | ||
|
||
"""a docstring""" | ||
import foo | ||
|
||
|
||
__version__: str = "1.2.3" | ||
__all__ = ("Foo", "a_function", ) | ||
|
||
class Foo: ... | ||
|
||
def a_function(): ... |
8 changes: 8 additions & 0 deletions
8
tests/test_flake8_dunder_all_/test_check_and_add_all_tuples_function_no___all___._py_
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 @@ | ||
|
||
"""a docstring""" | ||
import foo | ||
|
||
__all__ = ("a_function", ) | ||
|
||
|
||
def a_function(): ... |
3 changes: 3 additions & 0 deletions
3
tests/test_flake8_dunder_all_/test_check_and_add_all_tuples_import_and_docstring_._py_
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,3 @@ | ||
|
||
"""a docstring""" | ||
import foo |
1 change: 1 addition & 0 deletions
1
tests/test_flake8_dunder_all_/test_check_and_add_all_tuples_just_a_docstring_._py_
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 @@ | ||
"""a docstring""" |
1 change: 1 addition & 0 deletions
1
tests/test_flake8_dunder_all_/test_check_and_add_all_tuples_just_an_import_._py_
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 @@ | ||
import foo |
10 changes: 10 additions & 0 deletions
10
tests/test_flake8_dunder_all_/test_check_and_add_all_tuples_lots_of_lines_._py_
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,10 @@ | ||
|
||
"""a docstring""" | ||
import foo | ||
|
||
__all__ = ("a_function", ) | ||
|
||
|
||
|
||
|
||
async def a_function(): ... |
5 changes: 5 additions & 0 deletions
5
tests/test_flake8_dunder_all_/test_check_and_add_all_tuples_overload_._py_
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,5 @@ | ||
|
||
"""a docstring""" | ||
|
||
@overload | ||
def a_function(): ... |
5 changes: 5 additions & 0 deletions
5
tests/test_flake8_dunder_all_/test_check_and_add_all_tuples_typing_overload_._py_
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,5 @@ | ||
|
||
"""a docstring""" | ||
|
||
@typing.overload | ||
def a_function(): ... |
5 changes: 5 additions & 0 deletions
5
tests/test_flake8_dunder_all_/test_check_and_add_all_typing_overload_._py_
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,5 @@ | ||
|
||
"""a docstring""" | ||
|
||
@typing.overload | ||
def a_function(): ... |