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

Switch flake8->ruff #212

Merged
merged 2 commits into from
Nov 20, 2022
Merged

Conversation

TheoBabilon
Copy link
Contributor

Hi @samuelcolvin ,

I noticed you moved from flake8 to ruff on pydantic-core (pydantic/pydantic-core@bfe2d13), so I thought it would be a good idea too in watchfiles.

@codecov
Copy link

codecov bot commented Nov 20, 2022

Codecov Report

Merging #212 (6819cd3) into main (014b258) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #212   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            5         5           
  Lines          391       391           
  Branches        82        82           
=========================================
  Hits           391       391           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 014b258...6819cd3. Read the comment docs.

Copy link
Owner

@samuelcolvin samuelcolvin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise looks great.

sniffio==1.3.0
# via trio
sortedcontainers==2.4.0
# via trio
tomli==2.0.1
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure tomli should be removed here? Did you generate this with pip-compile?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did pip-compile requirements/linting.in -o requirements/linting.txt exactly

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure tomli should be removed here? Did you generate this with pip-compile?

Apologies, you were right indeed. I ran pip-compile on 3.11 initially.
Now ran the above command (pip-compile requirements/linting.in -o requirements/linting.txt) in 3.10 and tomli is indeed kept as is (which makes sense considering it was added from black/mypy). Fixed in latest commit, sorry about that

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No problem, easy mistake to make. Would be wonderful if pip-compile could know what versions are required.

@samuelcolvin samuelcolvin merged commit 025c433 into samuelcolvin:main Nov 20, 2022
@samuelcolvin
Copy link
Owner

Thanks so much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants