Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Inconsistent linting/CI #32

Open
4 tasks
DanCardin opened this issue Sep 16, 2024 · 0 comments
Open
4 tasks

Bug: Inconsistent linting/CI #32

DanCardin opened this issue Sep 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@DanCardin
Copy link
Collaborator

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)
@DanCardin DanCardin added the bug Something isn't working label Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant