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

Improve Code Standards #147

Merged
merged 4 commits into from
May 26, 2024
Merged

Improve Code Standards #147

merged 4 commits into from
May 26, 2024

Conversation

avik-pal
Copy link
Member

  • Explicit Imports
  • Standardize formatting

Copy link

codecov bot commented May 25, 2024

Codecov Report

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

Project coverage is 90.60%. Comparing base (26b0ec5) to head (9984298).

Files Patch % Lines
ext/SimpleNonlinearSolveReverseDiffExt.jl 44.44% 10 Missing ⚠️
ext/SimpleNonlinearSolveTrackerExt.jl 64.28% 5 Missing ⚠️
src/bracketing/falsi.jl 60.00% 2 Missing ⚠️
src/bracketing/ridder.jl 66.66% 2 Missing ⚠️
src/bracketing/alefeld.jl 87.50% 1 Missing ⚠️
src/bracketing/bisection.jl 85.71% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #147      +/-   ##
==========================================
+ Coverage   90.58%   90.60%   +0.02%     
==========================================
  Files          23       23              
  Lines        1296     1299       +3     
==========================================
+ Hits         1174     1177       +3     
  Misses        122      122              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

test/core/qa_tests.jl Outdated Show resolved Hide resolved
@avik-pal avik-pal force-pushed the ap/explicit_imports branch 2 times, most recently from 3d29055 to c6dc7b7 Compare May 25, 2024 22:14
Comment on lines 0 to 5
style = "sciml"
format_markdown = true
annotate_untyped_fields_with_any = false
format_docstrings = true No newline at end of file
format_docstrings = true
join_lines_based_on_source = false
Copy link
Member

Choose a reason for hiding this comment

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

@thazhemadam are we able to standardize this in the .github?

Copy link
Member Author

Choose a reason for hiding this comment

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

annotate_untyped_fields_with_any = false is a better case only if ConcreteStructs are being used

Copy link
Member Author

Choose a reason for hiding this comment

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

Though join_lines_based_on_source = false makes the formatting more standard across different authors

@avik-pal avik-pal closed this May 25, 2024
@avik-pal avik-pal reopened this May 25, 2024
@avik-pal avik-pal mentioned this pull request May 25, 2024
2 tasks
@avik-pal avik-pal merged commit 7e2d867 into main May 26, 2024
17 of 19 checks passed
@avik-pal avik-pal deleted the ap/explicit_imports branch May 26, 2024 01:12
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.

None yet

2 participants