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

style: fix missing whitespace between operators #3967

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

echoix
Copy link
Member

@echoix echoix commented Jul 1, 2024

In between the last time I applied the missing pre-commit violations and the time it was merged, some new violations were introduced in here:
a24714e#diff-fdcb5f33abc00bc15a934808d3d868490e61db92909e6747a2a635faf2c4df02R20
as the PR changed python files, but the CI wasn't run containing the changes on main that updated the flake8 version or exclusions.

Anyways, here's a missing fix for this:

gitpod /workspace/grass $ flake8 --count --statistics --show-source --jobs=$(nproc) .
./raster/r.texture/benchmark/benchmark_rtexture.py:20:62: E226 missing whitespace around arithmetic operator
        benchmark(int(mapsize**0.5), f"r.texture_{int(mapsize/1e6)}M", results)
                                                             ^
1     E226 missing whitespace around arithmetic operator
1

@echoix echoix added this to the 8.5.0 milestone Jul 1, 2024
@github-actions github-actions bot added raster Related to raster data processing Python Related code is in Python module labels Jul 1, 2024
@echoix echoix merged commit 7cf68ef into OSGeo:main Jul 1, 2024
27 checks passed
@echoix echoix deleted the apply-precommit-fixes-flake8-space branch July 1, 2024 22:28
@a0x8o a0x8o mentioned this pull request Jul 1, 2024
a0x8o pushed a commit to a0x8o/grass that referenced this pull request Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module Python Related code is in Python raster Related to raster data processing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants