Skip to content

Commit

Permalink
Modify the main.yml in github workflow, revert changes in flake8 and …
Browse files Browse the repository at this point in the history
…test_helpers.py
  • Loading branch information
stevenhua0320 committed Jul 17, 2024
1 parent c3dedea commit 78b39b0
Show file tree
Hide file tree
Showing 5 changed files with 70 additions and 224 deletions.
2 changes: 1 addition & 1 deletion .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ coverage:
status:
patch:
default:
target: '70'
target: '80'
if_no_uploads: error
if_not_found: success
if_ci_failed: failure
Expand Down
3 changes: 2 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
[run]
source =
regolith
regolith/
[report]
omit =
*/python?.?/*
*/site-packages/nose/*
# ignore _version.py and versioneer.py
.*version.*
*_version.py
*/tests/utils.py

exclude_lines =
if __name__ == '__main__':
2 changes: 2 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ max-line-length = 115
# Ignore some style 'errors' produced while formatting by 'black'
# https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html#labels-why-pycodestyle-warnings
extend-ignore = E203
per-file-ignores =
tests/test_helpers.py: E501
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
# environment.yml file is needed by this action. Because I don't want
# maintain this but rather maintain the requirements files it just has
# basic things in it like conda and pip
environment-file: ./environment.yml
environment-file: environment.yml
python-version: 3
auto-activate-base: false

Expand Down
Loading

0 comments on commit 78b39b0

Please sign in to comment.