-
Notifications
You must be signed in to change notification settings - Fork 0
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
F841 E722 and F405 #20
Commits on Oct 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a4786e1 - Browse repository at this point
Copy the full SHA a4786e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d699d5 - Browse repository at this point
Copy the full SHA 9d699d5View commit details -
style: Fix if-else-block-instead-of-if-exp (SIM108) (part 2) (#4562)
* style: Fix if-else-block-instead-of-if-exp (SIM108) in scripts/ Ruff rule: https://docs.astral.sh/ruff/rules/if-else-block-instead-of-if-exp * style: Fix if-else-block-instead-of-if-exp (SIM108) in python/ Ruff rule: https://docs.astral.sh/ruff/rules/if-else-block-instead-of-if-exp * checks: Rename inner variable shadowing type to _type in python/grass/temporal/gui_support.py * style: Manual fixes for if-else-block-instead-of-if-exp (SIM108) in python/ Ruff rule: https://docs.astral.sh/ruff/rules/if-else-block-instead-of-if-exp
Configuration menu - View commit details
-
Copy full SHA for 67a1609 - Browse repository at this point
Copy the full SHA 67a1609View commit details
Commits on Oct 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for af55fa7 - Browse repository at this point
Copy the full SHA af55fa7View commit details
Commits on Oct 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c5c42cf - Browse repository at this point
Copy the full SHA c5c42cfView commit details -
wxGUI: Fixed F841 in photo2image/ (#4573)
* fixed 841 * fixed busyInfo
Configuration menu - View commit details
-
Copy full SHA for 2575783 - Browse repository at this point
Copy the full SHA 2575783View commit details -
lib/db: Remove deprecated implementation of db_get_login() and replac…
…e it with that of db_get_login2() (#4302) `db_get_login()` is deprecated in 7.8.0 release with da399c5. Change its function signature and implementation to match that of the currently preferred `db_get_login2()`. Technically, this is removing the old function and introducing a new one with the same name, but a different signature. Modify `db_get_login2()` to internally call `db_get_login()` function call. In the next major version, `db_get_login2()` should be removed to have only one method to get login details for simplicity. See also #4308. --------- Signed-off-by: Mohan Yelugoti <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a05ed29 - Browse repository at this point
Copy the full SHA a05ed29View commit details -
lib/db: Remove deprecated implementation of db_set_login() and replac…
…e it with that of db_set_login2() (#4308) `db_set_login()` is deprecated in 7.8.0 release with da399c5. Change its function signature and implementation to match that of the currently preferred `db_set_login2()`. Technically, this is removing the old function and introducing a new one with the same name, but a different signature. Modify `db_set_login2()` to internally call `db_set_login()` function call. In the next major version, `db_set_login2()` should be removed to have only one method to get login details for simplicity. See also #4308. --------- Signed-off-by: Mohan Yelugoti <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 930d59a - Browse repository at this point
Copy the full SHA 930d59aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cd6870 - Browse repository at this point
Copy the full SHA 5cd6870View commit details -
style: Fix unused-import (F401) (#4521)
* t.rast.accumulate: Remove unused SimpleModule import in test_accumulation * temporal: Fix unused-import (F401) in testsuite * grass.temporal: Fix unused-import (F401) * grass.benchmark: Fix unused-import (F401) by defining __all__ * grass.pygrass.vector: Fix unused-import (F401) for testsuite * grass.pygrass.vector: Sort imports * vector: Fix unused-import (F401) for testsuite * scripts: Fix unused-import (F401) for testsuite * raster: Fix unused-import (F401) for testsuite * v.fill.holes: Fix unused-import (F401) * doc: Fix unused-import (F401) * grass.semantic_label: Fix unused-import (F401) by defining __all__ in __init__ * grass.pygrass.rpc: Fix unused-import (F401) in __init__ * grass.pygrass.modules.interface: Fix unused-import (F401) by defining __all__ in __init__ * grass.pygrass.modules.interface: Apply isort * grass.pygrass.modules.grid: Fix unused-import (F401) by defining __all__ in __init__ * grass.pygrass.modules: Fix unused-import (F401) by defining __all__ in __init__ * grass.pygrass.modules: Apply isort * grass.imaging: Fix unused-import (F401) by defining __all__ in __init__ * grass.imaging: Apply isort * grass.jupyter: Fix unused-import (F401) by defining __all__ in __init__ * grass.jupyter: Apply isort * pygrass: Ignore F401 (unused imports) Ignored inline where the import is justified and isn't to fix later, and ignored in a per-file exclusion where the imports seemed to be for commented-out test case lines * lib/gis: Fix F401 unused platform import in test_gis_lib_getl * grass.script: Ignore F401 in `__init__.py` for setup import * style: Remove exclusion for F401 ruff rule * style: Remove unneeded flake8 exclusions for F401 * Apply suggestions from code review
Configuration menu - View commit details
-
Copy full SHA for 533070d - Browse repository at this point
Copy the full SHA 533070dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0582709 - Browse repository at this point
Copy the full SHA 0582709View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d7b331 - Browse repository at this point
Copy the full SHA 3d7b331View commit details
Commits on Oct 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for cc0fb73 - Browse repository at this point
Copy the full SHA cc0fb73View commit details
Commits on Oct 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0860b87 - Browse repository at this point
Copy the full SHA 0860b87View commit details -
Configuration menu - View commit details
-
Copy full SHA for bbe66e4 - Browse repository at this point
Copy the full SHA bbe66e4View commit details -
tests: Add regression test for r.his (#4572)
* Add tests to r.his * Add assertRasterFitsUnivar * Update assertRasterFitsUnivar * Add g.region to make r.univar values consistent * Update raster/r.his/testsuite/test_r_his.py Apply the suggestion. Co-authored-by: Anna Petrasova <[email protected]> * Update raster/r.his/testsuite/test_r_his.py Apply the suggestion. Co-authored-by: Anna Petrasova <[email protected]> * Update raster/r.his/testsuite/test_r_his.py Black styling --------- Co-authored-by: Anna Petrasova <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b6514ca - Browse repository at this point
Copy the full SHA b6514caView commit details -
manual: mention raster semantic labels and multiple http/https fixes (#…
…4591) * r.support/i.band.library/r.semantic.label: better mention raster semantic labels * v.db.reconnect.all: add missing keywords * URLs: selectively change http to https; fix a few broken URLs
Configuration menu - View commit details
-
Copy full SHA for 5b94314 - Browse repository at this point
Copy the full SHA 5b94314View commit details -
Configuration menu - View commit details
-
Copy full SHA for 86693f6 - Browse repository at this point
Copy the full SHA 86693f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a04b64 - Browse repository at this point
Copy the full SHA 1a04b64View commit details -
style: Fix if-else-block-instead-of-if-exp (SIM108) (part 3) (#4570)
* style: Fix if-else-block-instead-of-if-exp (SIM108) in scripts/ Ruff rule: https://docs.astral.sh/ruff/rules/if-else-block-instead-of-if-exp * style: Fix if-else-block-instead-of-if-exp (SIM108) in python/ Ruff rule: https://docs.astral.sh/ruff/rules/if-else-block-instead-of-if-exp * checks: Rename inner variable shadowing type to _type in python/grass/temporal/gui_support.py * style: Manual fixes for if-else-block-instead-of-if-exp (SIM108) in python/ Ruff rule: https://docs.astral.sh/ruff/rules/if-else-block-instead-of-if-exp * style: Fix if-else-block-instead-of-if-exp (SIM108) in gui/ Ruff rule: https://docs.astral.sh/ruff/rules/if-else-block-instead-of-if-exp * checks: Rename inner variable shadowing list to _list in gui/wxpython/core/render.py * style: Manual fixes for if-else-block-instead-of-if-exp (SIM108) in gui/ Ruff rule: https://docs.astral.sh/ruff/rules/if-else-block-instead-of-if-exp * python: Add type annotations for grass.script.core.parser() * python: Add type annotations for is_time_absolute() and is_time_relative() in grass.temporal.AbstractDataset * style: Enable Checking for SIM108 * Update pyproject.toml to remove fixed issues * Update base.py Co-authored-by: Anna Petrasova <[email protected]> --------- Co-authored-by: Anna Petrasova <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9e1e85d - Browse repository at this point
Copy the full SHA 9e1e85dView commit details
Commits on Oct 26, 2024
-
wxGUI: Reverted unused variable fix in wxgui/ (#4595)
Seems to break 3D view
Configuration menu - View commit details
-
Copy full SHA for ac49177 - Browse repository at this point
Copy the full SHA ac49177View commit details -
Configuration menu - View commit details
-
Copy full SHA for 652a2f8 - Browse repository at this point
Copy the full SHA 652a2f8View commit details -
lib/iostream: Remove redundant template parameters (#4586)
In C++20, repeating template parameter names with the name of the class is no longer allowed as it is redundant (https://cplusplus.github.io/CWG/issues/2237.html). The new code is valid also in C++17, but the old code is not accepted in C++20.
Configuration menu - View commit details
-
Copy full SHA for 5af22b2 - Browse repository at this point
Copy the full SHA 5af22b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4616b9d - Browse repository at this point
Copy the full SHA 4616b9dView commit details
Commits on Oct 27, 2024
-
style: Fix superfluous-else rules for raise, continue and break (RET5…
…06, RET507, RET508) (#4565)
Configuration menu - View commit details
-
Copy full SHA for 7910777 - Browse repository at this point
Copy the full SHA 7910777View commit details -
temporal: Add precise typing overloads to dataset_factory (#4600)
* temporal: Add precise typing overloads to dataset_factory This enables type checkers like mypy or Pyright to understand the returned class from the string passed as the type argument * temporal: Add typing overloads to dataset_factory * temporal: Add dataset_factory implementation with str type for type argument * temporal: Remove dataset_factory overload that listed all literal types * temporal: Update dataset_factory file header * temporal: Add dataset_factory overload with str type for type argument * temporal: Accept None for id argument in dataset_factory overload as used in existing calls
Configuration menu - View commit details
-
Copy full SHA for ffcb9e1 - Browse repository at this point
Copy the full SHA ffcb9e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84afcf4 - Browse repository at this point
Copy the full SHA 84afcf4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 937b2f4 - Browse repository at this point
Copy the full SHA 937b2f4View commit details
Commits on Oct 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7d101ed - Browse repository at this point
Copy the full SHA 7d101edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 24469d8 - Browse repository at this point
Copy the full SHA 24469d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bceb98 - Browse repository at this point
Copy the full SHA 6bceb98View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9a543a - Browse repository at this point
Copy the full SHA b9a543aView commit details
Commits on Oct 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 94034a3 - Browse repository at this point
Copy the full SHA 94034a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba809db - Browse repository at this point
Copy the full SHA ba809dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for e6fd110 - Browse repository at this point
Copy the full SHA e6fd110View commit details