Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checks: flake8 F841 (local variable assigned to but never used) fixes in the temporal directory #4229

Merged
merged 3 commits into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -174,13 +174,10 @@ per-file-ignores =
scripts/v.what.strds/v.what.strds.py: E722, E501
# Line too long (esp. module interface definitions)
scripts/*/*.py: E501
# local variable 'column' is assigned to but never used
temporal/t.rast.to.vect/t.rast.to.vect.py: E501
# local variable 'stdstype' is assigned to but never used
temporal/t.vect.algebra/t.vect.algebra.py: F841, E501
temporal/t.vect.algebra/t.vect.algebra.py: E501
# ## used (##% key: r etc)
# local variable 'map_list' is assigned to but never used
temporal/t.rast.what/t.rast.what.py: E265, E266, F841, E501
temporal/t.rast.what/t.rast.what.py: E265, E266, E501
# Line too long (esp. module interface definitions)
temporal/*/*.py: E501

Expand Down
1 change: 0 additions & 1 deletion temporal/t.rast.what/t.rast.what.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,6 @@ def one_point_per_col_output(
for count in range(len(output_files)):
file_name = output_files[count]
gs.verbose(_("Transforming r.what output file %s" % (file_name)))
map_list = output_time_list[count]
in_file = open(file_name, "r")
lines = in_file.readlines()

Expand Down
1 change: 0 additions & 1 deletion temporal/t.vect.algebra/t.vect.algebra.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ def main():
expression = options["expression"]
basename = options["basename"]
spatial = flags["s"]
stdstype = "stvds"

# Check for PLY istallation
try:
Expand Down
Loading