Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • pygeodyn pygeodyn
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • GeodynamoGeodynamo
  • pygeodynpygeodyn
  • Merge requests
  • !54

Fixed lint errors after running flake8

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Loic Huder requested to merge lint-fix into master Oct 14, 2020
  • Overview 4
  • Commits 1
  • Pipelines 0
  • Changes 31

I ran flake8 --ignore=E501,E226,E203,W503 on the project and tried to correct as many warnings/errors I could. To help me, I used black to format a few files (mostly tests).

The following warnings remain:

./pygeodyn/utilities.py:121:61: E741 ambiguous variable name 'l'
./pygeodyn/__init__.py:2:1: F401 'pygeodyn._version.__version__' imported but unused
./pygeodyn/zonkf/algo.py:178:100: E126 continuation line over-indented for hanging indent
./pygeodyn/augkf/forecaster.py:105:41: E128 continuation line under-indented for visual indent
./pygeodyn/augkf/analyser.py:36:17: E123 closing bracket does not match indentation of opening bracket's line
./pygeodyn/augkf/analyser.py:40:17: E123 closing bracket does not match indentation of opening bracket's line

but we can live with them.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: lint-fix