Skip to content

Commit

Permalink
Update poetry lock and reformat (#186)
Browse files Browse the repository at this point in the history
* Update poetry lock file

* Update output__aggressive.py

Update snapshot to match new version of flake8-naming

* Fix snapshot for unicode file

* Update tests/test_cli/acknowledge_existing_errors_test_cases__snapshots/unicode_in_files/output__aggressive.py

* actualy use --snapshot-update to just update all (#187)

now that I figured out that the best way was to do a 'git checkout -b some_branch upstream/automated-updates/update-poetry-lock' to get a branch tracking this upstream branch

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: mshafer-NI <[email protected]>
  • Loading branch information
3 people authored Jul 8, 2024
1 parent 6e20d2c commit 6f99b46
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def method_with_bad_names_on_multiple_lines_1(

def method_with_bad_names_on_multiple_lines_2(
myBadlyNamedParam, # noqa: N803 - argument name 'myBadlyNamedParam' should be lowercase (auto-generated noqa)
my_other_Bad_name,
my_other_Bad_name, # noqa: N803 - argument name 'my_other_Bad_name' should be lowercase (auto-generated noqa)
):
"""Provide parameters with bad names on multiple lines."""
return myBadlyNamedParam + my_other_Bad_name
Expand Down Expand Up @@ -84,7 +84,7 @@ def method_withBadName_with_bad_params_on_multiple_lines_1( # noqa: N802 - func

def method_withBadName_with_bad_params_on_multiple_lines_2( # noqa: N802 - function name 'method_withBadName_with_bad_params_on_multiple_lines_2' should be lowercase (auto-generated noqa)
myBadlyNamedParam, # noqa: N803 - argument name 'myBadlyNamedParam' should be lowercase (auto-generated noqa)
my_other_Bad_name,
my_other_Bad_name, # noqa: N803 - argument name 'my_other_Bad_name' should be lowercase (auto-generated noqa)
):
"""Provide parameters with bad names on multiple lines."""
return myBadlyNamedParam + my_other_Bad_name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def method_with_parameters_on_multiple_lines(x, y):

def method_with_bad_names_on_single_line(
myBadlyNamedParam, # noqa: N803 - argument name 'myBadlyNamedParam' should be lowercase (auto-generated noqa)
my_other_Bad_name,
my_other_Bad_name, # noqa: N803 - argument name 'my_other_Bad_name' should be lowercase (auto-generated noqa)
):
"""Provide parameters with bad names on single line."""
return myBadlyNamedParam + my_other_Bad_name
Expand All @@ -52,7 +52,7 @@ def method_with_bad_names_on_multiple_lines_1(

def method_with_bad_names_on_multiple_lines_2(
myBadlyNamedParam, # noqa: N803 - argument name 'myBadlyNamedParam' should be lowercase (auto-generated noqa)
my_other_Bad_name,
my_other_Bad_name, # noqa: N803 - argument name 'my_other_Bad_name' should be lowercase (auto-generated noqa)
):
"""Provide parameters with bad names on multiple lines."""
return myBadlyNamedParam + my_other_Bad_name
Expand Down Expand Up @@ -81,7 +81,7 @@ def method_withBadName_with_parameters_on_multiple_lines( # noqa: N802 - functi

def method_withBadName_with_bad_params_on_single_line( # noqa: N802 - function name 'method_withBadName_with_bad_params_on_single_line' should be lowercase (auto-generated noqa)
myBadlyNamedParam, # noqa: N803 - argument name 'myBadlyNamedParam' should be lowercase (auto-generated noqa)
my_other_Bad_name,
my_other_Bad_name, # noqa: N803 - argument name 'my_other_Bad_name' should be lowercase (auto-generated noqa)
):
"""Provide parameters with bad names on single line."""
return myBadlyNamedParam + my_other_Bad_name
Expand All @@ -96,7 +96,7 @@ def method_withBadName_with_bad_params_on_multiple_lines_1( # noqa: N802 - func

def method_withBadName_with_bad_params_on_multiple_lines_2( # noqa: N802 - function name 'method_withBadName_with_bad_params_on_multiple_lines_2' should be lowercase (auto-generated noqa)
myBadlyNamedParam, # noqa: N803 - argument name 'myBadlyNamedParam' should be lowercase (auto-generated noqa)
my_other_Bad_name,
my_other_Bad_name, # noqa: N803 - argument name 'my_other_Bad_name' should be lowercase (auto-generated noqa)
):
"""Provide parameters with bad names on multiple lines."""
return myBadlyNamedParam + my_other_Bad_name
Expand All @@ -105,7 +105,7 @@ def method_withBadName_with_bad_params_on_multiple_lines_2( # noqa: N802 - func
def method_withBadName_andParams( # noqa: N802 - function name 'method_withBadName_andParams' should be lowercase (auto-generated noqa)
my_normal_param,
myBadlyNamedParam, # noqa: N803 - argument name 'myBadlyNamedParam' should be lowercase (auto-generated noqa)
my_other_Bad_param,
my_other_Bad_param, # noqa: N803 - argument name 'my_other_Bad_param' should be lowercase (auto-generated noqa)
):
"""Provide example where black will want to split out result."""
return 5 + 7
Expand All @@ -114,7 +114,7 @@ def method_withBadName_andParams( # noqa: N802 - function name 'method_withBadN
def method_withBadName_and_bad_param_with_long_name( # noqa: N802 - function name 'method_withBadName_and_bad_param_with_long_name' should be lowercase (auto-generated noqa)
my_normal_param,
myBadlyNamedParam, # noqa: N803 - argument name 'myBadlyNamedParam' should be lowercase (auto-generated noqa)
my_other_Bad_param,
my_other_Bad_param, # noqa: N803 - argument name 'my_other_Bad_param' should be lowercase (auto-generated noqa)
):
"""Provide example where black will want to split out result even more""" # noqa: D415, W505 - First line should end with a period, question mark, or exclamation point (auto-generated noqa), doc line too long (188 > 100 characters) (auto-generated noqa)
return 5 + 7
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def problem_chars(self):
def method_withBadName_andParams( # noqa: N802 - function name 'method_withBadName_andParams' should be lowercase (auto-generated noqa)
my_normal_param,
myBadlyNamedParam, # noqa: N803 - argument name 'myBadlyNamedParam' should be lowercase (auto-generated noqa)
my_other_Bad_param,
my_other_Bad_param, # noqa: N803 - argument name 'my_other_Bad_param' should be lowercase (auto-generated noqa)
):
"""Provide example where black will want to split out result."""
return 5 + 7

0 comments on commit 6f99b46

Please sign in to comment.