Skip to content

Bug: Inconsistent linting/CI #32

@DanCardin

Description

@DanCardin

Description

In #31 am/was getting

type_lens/typing.py:47: error: Unused "type: ignore" comment [unused-ignore]

which i reliably need to ignore locally for mypy. Clearly there is either some weird pdm behavior going on, or perhaps CI caching? unsure.

Ideally make install would put my local venv into an identical state as CI, as far as dependencies go, and I should get the same linting behavior as CI would. As far as I can tell it's the CI that's "wrong" here because i cannot for the life of me get mypy locally to not error on that line for the declared version of mypy.

URL to code causing the issue

No response

MCVE

# Your MCVE code here

Steps to reproduce

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

Screenshots

"In the format of: ![SCREENSHOT_DESCRIPTION](SCREENSHOT_LINK.png)"

Logs

No response

Package Version

mypy 1.11.2

Platform

  • Linux
  • Mac
  • Windows
  • Other (Please specify in the description above)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions