Skip to content

Commit

Permalink
move lint rule to setup.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
frances-h committed Sep 25, 2023
1 parent ee9915b commit 4cdc5dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ inline-quotes = single
extend-ignore = SFS3, # String literal formatting using f-string
D107, # Missing docstring in __init__
DUO103, # Insecure use of "pickle" or "cPickle"
VNE001 # Single letter variable names are not allowed
VNE001, # Single letter variable names are not allowed
W503 # Line break occurred before a binary operator

[pydocstyle]
convention = google
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def test_with_progress_bar(self):
column_pair_trends = InterTableTrends()
num_iter = sum(
len(metadata['tables'][relationship['parent_table_name']]['columns'])
* len(metadata['tables'][relationship['child_table_name']]['columns']) # noqa: W503
* len(metadata['tables'][relationship['child_table_name']]['columns'])
for relationship in metadata['relationships']
)

Expand Down

0 comments on commit 4cdc5dc

Please sign in to comment.