Skip to content

Commit

Permalink
Merge pull request #41 from MolarVerse/feature/beartype_exceptions
Browse files Browse the repository at this point in the history
Feature/beartype exceptions
  • Loading branch information
97gamjak authored May 7, 2024
2 parents 83171dc + 199734c commit 535095e
Show file tree
Hide file tree
Showing 15 changed files with 1,017 additions and 560 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
shell: bash

#check if previous scor is not empty
#if it is not empty then fail if change is lower than -0.1
#if it is not empty then fail if change is lower than -0.05
- name: Check if previous score is not empty
id: check_previous_score
run: |
Expand All @@ -81,8 +81,8 @@ jobs:
echo "Previous score is empty"
else
echo "Previous score is $previous_score"
if (( $(echo "$previous_score < -0.1" | bc -l) )); then
echo "Changes score is lower than -0.1"
if (( $(echo "$previous_score < -0.05" | bc -l) )); then
echo "Changes score is lower than -0.05"
exit 1
fi
fi
Expand Down
5 changes: 3 additions & 2 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ extension-pkg-whitelist=
fail-on=

# Specify a score threshold under which the program will exit with error.
fail-under=9.5
fail-under=9.7

# Interpret the stdin as a python script, whose filename needs to be passed as
# the module_or_package argument.
Expand All @@ -56,7 +56,8 @@ ignore-paths= build,
_build,
.build,
.venv,
venv
venv,
PQAnalysis/_version.py

# Files or directories matching the regular expression patterns are skipped.
# The regex matches against base names, not paths. The default value ignores
Expand Down
Loading

0 comments on commit 535095e

Please sign in to comment.