-
Notifications
You must be signed in to change notification settings - Fork 249
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 for formatting, liniting and code checking. #302
Closed
Commits on Jan 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for db03448 - Browse repository at this point
Copy the full SHA db03448View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50eed2b - Browse repository at this point
Copy the full SHA 50eed2bView commit details -
Update .pre-commit-config.yaml
Remove strictness for yamllint to prevent "Failed" precommit status on too long lines. Remove width restriction on yamlfmt to prevent breaking of long lists which are then indented "inconsistently" according to yamllint. (Arbitrary changes which seem reasonable at the moment; mainly caused by inconsistencies between pyaaml and ruamel.yaml).
Configuration menu - View commit details
-
Copy full SHA for a079006 - Browse repository at this point
Copy the full SHA a079006View commit details -
Line length according to black (80 characters + <=10%).
Configuration menu - View commit details
-
Copy full SHA for 60886ba - Browse repository at this point
Copy the full SHA 60886baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 28b898f - Browse repository at this point
Copy the full SHA 28b898fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7202c3f - Browse repository at this point
Copy the full SHA 7202c3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c51c8e - Browse repository at this point
Copy the full SHA 9c51c8eView commit details -
Add yamllint ignore lines for some options.
Option "braces = disable" removes validity of "{}" of entries in yaml file, but those are necessary for the configuration-> manual ignore required.
Configuration menu - View commit details
-
Copy full SHA for 5f982f1 - Browse repository at this point
Copy the full SHA 5f982f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 591231d - Browse repository at this point
Copy the full SHA 591231dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c98a80 - Browse repository at this point
Copy the full SHA 1c98a80View commit details -
Configuration menu - View commit details
-
Copy full SHA for d538939 - Browse repository at this point
Copy the full SHA d538939View commit details -
Configuration menu - View commit details
-
Copy full SHA for e539b36 - Browse repository at this point
Copy the full SHA e539b36View commit details -
Apply all formatters from pre-commit.
(Run `pre-commit run --all-files` )
Configuration menu - View commit details
-
Copy full SHA for a71a46b - Browse repository at this point
Copy the full SHA a71a46bView commit details
Commits on Jan 12, 2022
-
Fix CI failing due to misaligned indentation from YAML formatting env…
…ironment.yaml. glpk and ipopt should be installed via conda, due to indentation mismatch they were installed via pip (which failed).
Configuration menu - View commit details
-
Copy full SHA for aa9e253 - Browse repository at this point
Copy the full SHA aa9e253View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04e022c - Browse repository at this point
Copy the full SHA 04e022cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4aa7578 - Browse repository at this point
Copy the full SHA 4aa7578View commit details -
Configuration menu - View commit details
-
Copy full SHA for 73caf53 - Browse repository at this point
Copy the full SHA 73caf53View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2245c7 - Browse repository at this point
Copy the full SHA e2245c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fcb44d - Browse repository at this point
Copy the full SHA 0fcb44dView commit details
Commits on Jan 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8b2ceda - Browse repository at this point
Copy the full SHA 8b2cedaView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.