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

Feature/beartype exceptions #38

Merged
merged 11 commits into from
May 6, 2024
Merged

Feature/beartype exceptions #38

merged 11 commits into from
May 6, 2024

Conversation

97gamjak
Copy link
Collaborator

@97gamjak 97gamjak commented May 6, 2024

A general runtime-type-checking decorator is now implemented

This PR just includes this feature into the dev branch - all single public functions have to be updated accordingly

Copy link

codecov bot commented May 6, 2024

Codecov Report

Attention: Patch coverage is 81.70732% with 15 lines in your changes are missing coverage. Please review.

Project coverage is 75.73%. Comparing base (9375045) to head (3585a95).
Report is 23 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev      #38      +/-   ##
==========================================
- Coverage   77.10%   75.73%   -1.37%     
==========================================
  Files         118      119       +1     
  Lines        4166     4237      +71     
==========================================
- Hits         3212     3209       -3     
- Misses        954     1028      +74     
Flag Coverage Δ
unittests 75.73% <81.70%> (-1.37%) ⬇️
Files Coverage Δ
PQAnalysis/analysis/rdf/api.py 29.03% <100.00%> (+1.44%) ⬆️
PQAnalysis/traj/trajectory.py 100.00% <100.00%> (ø)
PQAnalysis/__init__.py 82.14% <75.00%> (-1.86%) ⬇️
PQAnalysis/utils/custom_logging.py 76.53% <85.71%> (+5.56%) ⬆️
PQAnalysis/type_checking.py 67.56% <67.56%> (ø)

... and 34 files with indirect coverage changes

Copy link
Contributor

github-actions bot commented May 6, 2024

PYLINT REPORT

Your code has been rated at 9.87/10

Full report

Raw metrics

type number % previous difference
code 6473 38.74 NC NC
docstring 7755 46.42 NC NC
comment 226 1.35 NC NC
empty 2253 13.49 NC NC

Duplication

now previous difference
nb duplicated lines 0 NC NC
percent duplicated lines 0.000 NC NC

Messages by category

type number previous difference
convention 10 NC NC
refactor 36 NC NC
warning 8 NC NC
error 0 NC NC

Messages

message id occurrences
too-many-arguments 17
too-many-instance-attributes 10
invalid-name 9
fixme 7
too-many-locals 3
duplicate-code 2
too-many-statements 1
too-many-return-statements 1
too-many-branches 1
too-complex 1
missing-module-docstring 1
broad-exception-raised 1

@97gamjak 97gamjak merged commit e584ff4 into dev May 6, 2024
9 of 10 checks passed
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.

1 participant