Skip to content

Conversation

Markus28
Copy link
Contributor

I just think that it's inconvenient to have style checks in CI but not locally so I added pre-commit (exactly matches the style checks in CI but excludes mip/_version.py). Feel free to close this PR if there's a reason why you wouldn't want to have pre-commit.

@sebheger
Copy link
Collaborator

sebheger commented Jul 15, 2022

It's a good idea. Could you also please adapt the CI / style part to use the pre-commit configuration? I want to make sure that there is only a single config for black and flake8 (and in near future also mypy).

@Markus28
Copy link
Contributor Author

Good point, it should be working now (although this is the first time I'm messing with CI, so who knows lol)

@Markus28
Copy link
Contributor Author

I don't think the failing test has anything to do with what I changed...

@sebheger
Copy link
Collaborator

sebheger commented Jul 17, 2022

I guess the problem is related to #284. I have recognized, that the requirements could be python version specified. We have observed a lot of issues around python 3.7 as it isn't supported by the latest numpy version, so i downgrade the numpy version to be compatible with 3.7.

@sebheger
Copy link
Collaborator

I have disabled the failing part of the CI for the moment. You could rebase and then we are able to merge

@Markus28
Copy link
Contributor Author

Done. But not sure why that was necessary, there weren't any conflicts, were there?

@Markus28
Copy link
Contributor Author

Again, a check unrelated to precommit is failing

@sebheger sebheger merged commit a8b9faf into coin-or:master Jul 19, 2022
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