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

Check PEP8 on CI #2039

Merged
merged 2 commits into from
Jun 2, 2022
Merged

Check PEP8 on CI #2039

merged 2 commits into from
Jun 2, 2022

Conversation

epassaro
Copy link
Member

@epassaro epassaro commented May 30, 2022

📝 Description

Type: 🚀 feature | 🎢 infrastructure

Closes #1762

I propose merging this (the job works but it's skipped) until someone has time to make the TARDIS PEP8 complaint again.

📌 Resources

🚦 Testing

How did you test these changes?

  • Testing pipeline
  • Other method (describe)
  • My changes can't be tested (explain why)

☑️ Checklist

  • I requested two reviewers for this pull request
  • I updated the documentation according to my changes
  • I built the documentation by applying the build_docs label

Note: If you are not allowed to perform any of these actions, ping (@) a contributor.

@epassaro epassaro force-pushed the ci/flake8-on-ci branch 2 times, most recently from 368a849 to 192a9ac Compare May 30, 2022 21:17
@codecov
Copy link

codecov bot commented May 30, 2022

Codecov Report

Merging #2039 (176bf73) into master (9d10e6e) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2039      +/-   ##
==========================================
- Coverage   59.88%   59.87%   -0.01%     
==========================================
  Files          70       70              
  Lines        8154     8157       +3     
==========================================
+ Hits         4883     4884       +1     
- Misses       3271     3273       +2     
Impacted Files Coverage Δ
...dis/montecarlo/montecarlo_numba/numba_interface.py 34.90% <0.00%> (-0.28%) ⬇️
tardis/montecarlo/montecarlo_numba/base.py 29.75% <0.00%> (ø)
...dis/montecarlo/montecarlo_numba/formal_integral.py 53.87% <0.00%> (ø)
tardis/montecarlo/base.py 87.65% <0.00%> (+0.05%) ⬆️

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@andrewfullard
Copy link
Contributor

I agree that we need to run flake8 on TARDIS before merging this PR.

@epassaro
Copy link
Member Author

I agree that we need to run flake8 on TARDIS before merging this PR.

Also requires fine-tuning:

  • Configure Flake8 via setup.cfg or pyproject.toml
  • Choose other desirable Flake8 plugins
  • Ensure that Black and Flake8 plays nicely together

@epassaro epassaro merged commit c693f60 into tardis-sn:master Jun 2, 2022
epassaro added a commit to epassaro/tardis that referenced this pull request Jun 2, 2022
* Add Flake8 job

* Change to file description
epassaro added a commit to epassaro/tardis that referenced this pull request Jun 2, 2022
* Fix bot aliases in .mailmap (tardis-sn#2038)

* Added v_inner and v_outer, enable_nonhomologous_expansion for future use in nonhomologous expansion (tardis-sn#2024)

* added v_outer and v_inner to NumbaModel

* defined default value for v_inner and v_outer in NumbaModel

* added enable_nonhomologous_expansion to io/schemas/montecarlo.yml

* added v_inner and v_outer to NumbaPlasma

* added v_inner and v_outer as arguments for NumbaModel in run() in montecarlo_numba

* added v_outer_cgs to MonteCarloRunner

* removed a comment

* ran black on the changed files

* added right arguments in test

* added v_inner, v_outer to tests

* added temporary fix to formal_integral.py

* ran black on modified files

* changed dummy values in the test

* Reverted content of file.

* made needed change in test_cuda_formal_integral.py

* made needed change in test_numba_formal_integral.py

* Update README.rst in post-release (tardis-sn#2037)

* Fix docs badge

* Add license badge

* First attempt of creating credits.rst and README.rst via templates

* Working version

* Restore old README.rst

* Update post-release workflow

* Change .gitignore

* Various fixes

* Check PEP8 on CI (tardis-sn#2039)

* Add Flake8 job

* Change to file description

* Test payload

Co-authored-by: Sona Chitchyan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enforce naming conventions of PEP8
2 participants