-
-
Notifications
You must be signed in to change notification settings - Fork 194
MNT: update Makefile #539
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
MNT: update Makefile #539
Conversation
52f938c
to
ebf8457
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #539 +/- ##
========================================
Coverage 72.32% 72.32%
========================================
Files 56 56
Lines 9399 9399
========================================
Hits 6798 6798
Misses 2601 2601 ☔ View full report in Codecov by Sentry. |
f287223
to
c005298
Compare
I commited a mistake in which I removed the However, after commiting, this triggered the Do you have any ideas why this might be happening @Gui-FernandesBR ? |
e71d859
to
c9a4cf4
Compare
that's weird man. Let's update the branch with a rebase and wait to see what is happening |
Ok, I understand it now, there's a new version of black out there, this is creating some formatting differences (https://pypi.org/project/black/). I think it is OK to include the linter changes in this PR, no big deal. Please update your black: |
@MateusStano could you test some of these commands in Windows, because I am afraid changing the Python command from |
Yep, python3 does not work on windows |
By the way, it seems that the |
I have removed the versioning cap and the tests still ran fine. If there was a specific reason to keep the cap, please correct me. |
I believe I have found a solution to set the Environment variable according the common definition of the UNIX and Windows. Of course, if the user changed that it will fail. Could you test them on Windows again, just to make sure it is working? |
Great adjustments, I wanted to confirm the code is working on linux. Asking help from windows developers here @MateusStano @giovaniceotto @lucasfourier @juliomachad0 It is latterly checking out the |
Co-authored-by: Pedro Henrique Marinho Bressan <[email protected]>
aa2ecf4
to
5234f6d
Compare
Just tested on windows now with @juliomachad0 's help, everything works, amazing! |
Pull request type
Checklist
black rocketpy/ tests/
) has passed locallypytest --runslow
) have passed locallyCHANGELOG.md
has been updated (if relevant) [not relevant]Current behavior
The current Makefile is dated from more than 2 years ago, and I'm under the impression that almost none of our developers (including me) use it so often.
New behavior
I updated (and hopefully improved) the Makefile, now adding new commands to help us during development phase.
You can now use the following commands:
make pytest
make slow
make coverage
make coverage-report
make install
make isort
make black
make pylint
make build-docs
Breaking change
Additional information
make pylint
, but it is being ignored by the-
sign and should not affect the performance, so don't worry about that.