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

EditorConfig specification for the project and minor tooling improvements #1778

Merged
merged 4 commits into from
May 28, 2024
Merged

EditorConfig specification for the project and minor tooling improvements #1778

merged 4 commits into from
May 28, 2024

Conversation

asnare
Copy link
Contributor

@asnare asnare commented May 27, 2024

Changes

This PR includes some trivial repository updates:

  • An EditorConfig profile to set basic code formatting, set to match the files already in the repo. (IntelliJ/PyCharm should pick this up out of the box.)
  • A warning when running the make verify target is eliminated.
  • The Makefile targets are now marked as phony, which is more of a hygiene thing than anything else.

Tests

  • manually tested

@asnare asnare requested review from a team and gcwang-db May 27, 2024 16:20
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

[*]
indent_style = space
indent_size = 4
tab_width = 8
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
tab_width = 8
tab_width = 4

.editorconfig Outdated Show resolved Hide resolved
Copy link

codecov bot commented May 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.64%. Comparing base (e4da14e) to head (1bca0d9).
Report is 1 commits behind head on main.

Current head 1bca0d9 differs from pull request most recent head bb6260b

Please upload reports for the commit bb6260b to get more accurate results.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1778   +/-   ##
=======================================
  Coverage   89.64%   89.64%           
=======================================
  Files          95       95           
  Lines       11748    11748           
  Branches     2058     2058           
=======================================
  Hits        10532    10532           
  Misses        819      819           
  Partials      397      397           

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

Co-authored-by: Serge Smertin <259697+nfx@users.noreply.github.com>
@asnare asnare changed the title Trivial repository tweaks EditorConfig specification for the project and minor tooling improvements. May 28, 2024
Copy link
Collaborator

@nfx nfx left a comment

Choose a reason for hiding this comment

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

Lgtm

@nfx nfx changed the title EditorConfig specification for the project and minor tooling improvements. EditorConfig specification for the project and minor tooling improvements May 28, 2024
@nfx nfx merged commit 407d45c into databrickslabs:main May 28, 2024
4 of 6 checks passed
@asnare asnare deleted the repository-tweaks branch May 28, 2024 07:47
@asnare asnare restored the repository-tweaks branch May 28, 2024 07:47
@asnare asnare deleted the repository-tweaks branch May 28, 2024 07:47
@asnare asnare mentioned this pull request Jun 20, 2024
nfx pushed a commit that referenced this pull request Jul 5, 2024
## Changes

This PR follows on from #1778 by cleaning up files that use tabs, have
trailing whitespace, or are missing EOL at the end of files. By fixing
these in one go other PRs become less noisy. (Sample files used in tests
have been left alone and are not affected by this PR.)
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.

3 participants