Skip to content

github action fix: fix flake8 by wrapping two lines that exceed 79 characters #2833 - #2834

Open
AnkitSatpute wants to merge 1 commit into
WDscholia:mainfrom
findsoftware:bug/actions-flake8-errors-issue-2833
Open

AnkitSatpute wants to merge 1 commit into
WDscholia:mainfrom
findsoftware:bug/actions-flake8-errors-issue-2833

Conversation

@AnkitSatpute

@AnkitSatpute AnkitSatpute commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #2833
Part of #2824

Description

api.py: wrapped the REST URL line in wb_get_rest_entity.
views.py: wrapped the from ..api import (...) line.

If you make changes to the Python code

  • My code passes the tox check, I can receive warnings about tests, documentation or both

Testing

  • tox -e flake8 passes on this branch.

Screenshot

tox -e flake8
.pkg: _optional_hooks> python _backend.py True setuptools.build_meta legacy
.pkg: get_requires_for_build_sdist> python _backend.py True setuptools.build_meta legacy
.pkg: get_requires_for_build_wheel> python _backend.py True setuptools.build_meta legacy
.pkg: prepare_metadata_for_build_wheel> python _backend.py True setuptools.build_meta legacy
.pkg: build_sdist> python _backend.py True setuptools.build_meta legacy
flake8: install_package> python -I -m pip install --force-reinstall --no-deps scholia-0.3+1408.g8c8fc09d.dirty.tar.gz
flake8: commands[0]> flake8 scholia
flake8: OK (56.39=setup[53.44]+cmd[2.95] seconds)
congratulations :) (56.50 seconds)

Checklist

  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have not used code from external sources without attribution
  • I have considered accessibility in my implementation
  • There are no remaining debug statements (print, console.log, ...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SUB-6: [CI] flake8 fails on scholia/api.py and scholia/app/views.py

1 participant