-
Notifications
You must be signed in to change notification settings - Fork 226
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
Create config for pre-commit and autoformatters+flake8 #362
Conversation
Not enabled yet. But once enabled a close + reopen should trigger it |
It should be enabled now, triggering CI |
rev: v2.19.0 | ||
hooks: | ||
- id: pyupgrade | ||
args: [--py37-plus] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to do the same for eslint and prettier?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
72222db
to
fabb819
Compare
.pre-commit-config.yaml
Outdated
additional_dependencies: | ||
- "@typescript-eslint/eslint-plugin" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I need to add more things here before merging. not sure i got this right yet.
a625167
to
87d2825
Compare
ae9103a
to
c9244b4
Compare
for more information, see https://pre-commit.ci
Only took 11 force pushes :) but we got there |
Amazing. Thanks! |
Once pre-commit.ci is fully enabled then the pot should push the style fixes to this PR as a single commit. #360