Skip to content

Linting tests are causing CI Testing stage to fail #282

@brews

Description

@brews

CI's "testing" stage fails linting and format checks. I think black is checking using newer standards or checks rather than the original checks we set up. Might be that some version or format check wasn't properly pinned.

It would be nice to either update the style or pin it back to the original formats we checked for.

Example output from this job.

flake8 --count --show-source --statistics dodola
0
black -v --check dodola
Identified `/home/runner/work/dodola/dodola` as project root containing a .git directory.
Using configuration from project root.
target_version: ['py38', 'py39', 'py310', 'py311', 'py312', 'py313', 'py314']
Found input source directory: "/home/runner/work/dodola/dodola/dodola"
/home/runner/work/dodola/dodola/dodola/__init__.py already well formatted, good job.
would reformat /home/runner/work/dodola/dodola/dodola/repository.py
/home/runner/work/dodola/dodola/dodola/tests/__init__.py already well formatted, good job.
/home/runner/work/dodola/dodola/dodola/tests/test_cli.py already well formatted, good job.
/home/runner/work/dodola/dodola/dodola/core.py already well formatted, good job.
/home/runner/work/dodola/dodola/dodola/tests/test_repository.py already well formatted, good job.
/home/runner/work/dodola/dodola/dodola/tests/test_core.py already well formatted, good job.
would reformat /home/runner/work/dodola/dodola/dodola/services.py
would reformat /home/runner/work/dodola/dodola/dodola/cli.py
would reformat /home/runner/work/dodola/dodola/dodola/tests/test_services.py

Oh no! 💥 💔 💥
4 files would be reformatted, 6 files would be left unchanged.
make: *** [Makefile:7: format-check] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions