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

Add .editorconfig #1697

Closed
wants to merge 1 commit into from
Closed

Add .editorconfig #1697

wants to merge 1 commit into from

Conversation

joschmitt
Copy link
Contributor

I think it is supposed to be 3 spaces per tab in Nemo.

insert_final_newline = true

[*.jl]
indent_size = 3
Copy link
Member

Choose a reason for hiding this comment

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

I guess this does indeed match what the majority of the code does, but it's a bit jarring that it again differs from Oscar.jl and other of our packages...

Since we are currently down to just one other PR. perhaps it is time to think about running JuliaFormatter on the entire package (might make @lkastner happy, too), with whatever settings we prefer (i.e. we'd also need a JuliaFormatter.toml)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Also fine by me. The same should then be done for AbstractAlgebra.

Copy link
Collaborator

Choose a reason for hiding this comment

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

See #1698 for a proposal.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Also fine by me. The same should then be done for AbstractAlgebra.

Adding the formatting config, yes. With running the formatter on everything I would wait for a moment with only few open relevant PRs

Copy link

codecov bot commented Apr 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.67%. Comparing base (1f50201) to head (68c7ec6).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1697      +/-   ##
==========================================
- Coverage   84.70%   84.67%   -0.03%     
==========================================
  Files          94       94              
  Lines       37460    37460              
==========================================
- Hits        31729    31718      -11     
- Misses       5731     5742      +11     

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

@joschmitt
Copy link
Contributor Author

Closing in favour of #1698.

@joschmitt joschmitt closed this Apr 3, 2024
@joschmitt joschmitt deleted the js/editor branch April 3, 2024 14:07
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

3 participants