People-Places-Solutions/floodmodeller-api

Fix lines ignored by linters

Open

#87 opened on Oct 12, 2023

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Python (23 forks)auto 404
good first issuerefactor

Repository metrics

Stars
 (42 stars)
PR merge metrics
 (PR metrics pending)

Description

To include linters within GitHub actions ASAP so that future code must pass them, some difficult lines of code were annotated to be ignored by the linters. These should be fixed. They can be found by searching the following within the codebase:

  • # noqa: C901 would otherwise fail mccabe complexity
  • # noqa: N801 would otherwise fail pep8 naming
  • # type: ignore would otherwise fail mypy type checking
  • # pylint: disable would otherwise fail pylint linting

Contributor guide