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

feat: create requirements-txt linter #80

Merged
merged 10 commits into from
Oct 17, 2023
Merged

feat: create requirements-txt linter #80

merged 10 commits into from
Oct 17, 2023

Conversation

justinchuby
Copy link
Owner

Example output:

>>> Lint for requirements-test.txt:

  Warning (REQUIREMENTS-TXT) format
    Run `lintrunner -a` to apply this patch.

    You can run `lintrunner -a` to apply this patch.

    1  1 | # Test dependencies to avoid doctest import errors
    2  2 | pyupgrade==3.3.1
       3 |+refurb==1.10.0;python_version>="3.10"
    3  4 | ufmt==2.0.1
    3    |-refurb==1.10.0;python_version>="3.10"
    5  5 | ufmt==2.0.1

Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

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

lintrunner found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.

@justinchuby justinchuby enabled auto-merge (squash) October 17, 2023 05:40
@justinchuby justinchuby merged commit 992e7b3 into main Oct 17, 2023
@justinchuby justinchuby deleted the requirement-txt branch October 17, 2023 05:44
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.

1 participant