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

[Bug] linting issues in src/grass_gis_helpers/open_geodata_germany/*.py #38

Open
neteler opened this issue Oct 18, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@neteler
Copy link
Member

neteler commented Oct 18, 2024

There are some linting issues (log):

flake8

Run flake8 --config=.flake8 --count --statistics --show-source .
./src/grass_gis_helpers/open_geodata_germany/__init__.py:1:1: W391 blank line at end of file

^
1     W391 blank line at end of file

pylint

Run pylint .
************* Module grass_gis_helpers.open_geodata_germany.__init__
src/grass_gis_helpers/open_geodata_germany/__init__.py:1:0: C0305: Trailing newlines (trailing-newlines)
************* Module grass_gis_helpers.open_geodata_germany.download_data
src/grass_gis_helpers/open_geodata_germany/download_data.py:117:35: C0103: Variable name "zipObj" doesn't conform to snake_case naming style (invalid-name)
src/grass_gis_helpers/open_geodata_germany/download_data.py:140:53: C0103: Variable name "zipObj" doesn't conform to snake_case naming style (invalid-name)
src/grass_gis_helpers/open_geodata_germany/download_data.py:29:0: C0411: standard import "zipfile.ZipFile" should be placed before third party imports "requests", "zipfile_deflate64" (wrong-import-order)
************* Module grass_gis_helpers.open_geodata_germany.federal_state
src/grass_gis_helpers/open_geodata_germany/federal_state.py:89:4: C0103: Variable name "URL" doesn't conform to snake_case naming style (invalid-name)

@neteler neteler added the bug Something isn't working label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant