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

Add pre-commit to all pakcages and services #498

Closed
11 tasks done
drjova opened this issue Jul 12, 2024 · 0 comments
Closed
11 tasks done

Add pre-commit to all pakcages and services #498

drjova opened this issue Jul 12, 2024 · 0 comments

Comments

@drjova
Copy link
Contributor

drjova commented Jul 12, 2024

All packages should have a pre-commit configuration, please note that isort should have a black profile. Something like the following:

end-of-file-fixer
trailing-whitespace
fix-byte-order-marker
mixed-line-ending
name-tests-test
no-commit-to-branch
autoflake 
    args: [
        "--in-place",
        "--remove-unused-variables", 
        "--remove-all-unused-imports"
    ]
isort
black

doc8
    args: [
        "--max-line-length", "112",
        "--file-encoding", "utf-8"
    ]
flake8
    additional_dependencies: [
        flake8-pytest-style,
        flake8-bugbear,
        flake8-comprehensions,
        flake8-print,
    ]
bandit

Package list

Services

@drjova drjova added this to the cleanup and unify packages milestone Jul 12, 2024
@PascalEgn PascalEgn self-assigned this Aug 5, 2024
DonHaul added a commit to inspirehep/refextract that referenced this issue Oct 3, 2024
DonHaul added a commit to inspirehep/refextract that referenced this issue Oct 3, 2024
@DonHaul DonHaul self-assigned this Oct 8, 2024
DonHaul added a commit to inspirehep/refextract that referenced this issue Oct 8, 2024
DonHaul added a commit to inspirehep/refextract that referenced this issue Oct 8, 2024
DonHaul added a commit to DonHaul/inspire-classifier that referenced this issue Oct 10, 2024
DonHaul added a commit to DonHaul/inspire-classifier that referenced this issue Oct 10, 2024
@drjova drjova closed this as completed Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants