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

Fix code #57

Merged
merged 1 commit into from
Jul 5, 2022
Merged

Fix code #57

merged 1 commit into from
Jul 5, 2022

Conversation

avik-pal
Copy link
Member

@avik-pal avik-pal commented Jul 4, 2022

No description provided.

@codecov
Copy link

codecov bot commented Jul 4, 2022

Codecov Report

Merging #57 (79270f0) into main (9704bf2) will not change coverage.
The diff coverage is 85.34%.

@@           Coverage Diff           @@
##             main      #57   +/-   ##
=======================================
  Coverage   85.52%   85.52%           
=======================================
  Files          14       14           
  Lines         456      456           
=======================================
  Hits          390      390           
  Misses         66       66           
Impacted Files Coverage Δ
src/layers/jacobian_stabilization.jl 0.00% <0.00%> (ø)
src/layers/core.jl 57.14% <27.27%> (ø)
src/solvers/termination.jl 58.90% <55.88%> (ø)
src/adjoint.jl 81.08% <79.41%> (ø)
src/utils.jl 77.77% <88.88%> (ø)
src/solvers/discrete/broyden.jl 95.00% <94.54%> (ø)
src/layers/chain.jl 86.36% <94.73%> (ø)
src/layers/deq.jl 96.00% <95.45%> (ø)
src/solve.jl 92.00% <95.45%> (ø)
src/layers/mdeq.jl 100.00% <100.00%> (ø)
... and 4 more

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

@avik-pal avik-pal merged commit 58a444f into main Jul 5, 2022
@avik-pal avik-pal deleted the ap/fix branch July 5, 2022 00:51
Comment on lines +2 to +9
always_use_return = true
margin = 92
indent = 2
format_docstrings = true
join_lines_based_on_source = true
separate_kwargs_with_semicolon = true
always_for_in = true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what are these for?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most are these except the indent one just enforce some "stricter" conventions compared to SciMLStyle. Also gets rid of some conventions which I find weird, especially the return last value without an explicit return statement. Some of them need to be removed (I just copied it over from one of my other repos).

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.

2 participants