Skip to content

[Issue-760] - Precommit & isort - #772

Merged
harshach merged 13 commits into
open-metadata:mainfrom
StuartApp:issue-760-precommit
Oct 14, 2021
Merged

harshach merged 13 commits into
open-metadata:mainfrom
StuartApp:issue-760-precommit

Conversation

@pmbrull

@pmbrull pmbrull commented Oct 14, 2021 •

Copy link
Copy Markdown
Member

Describe your changes :

Based on #761, we were still missing the application of isort to standardise imports and add pre-commit hooks to help during the development.

  • We have added pre-commit hooks, which can be installed via make precommit_install. Now all our commits will follow black and isort standards.
  • We have run isort to our source files to fix import order automatically.
  • Small fixes in the Makefile
  • Updated contribution docs to help contributors use the new tooling.

Type of change :

  • Bug fix
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

Checklist:

  • I have read the CONTRIBUTING document.
  • I have performed a self-review of my own.
  • I have tagged my reviewers below.
  • I have commented on my code, particularly in hard-to-understand areas.
  • My changes generate no new warnings.
  • I have added tests that prove my fix is effective or that my feature works.
  • All new and existing tests passed.

Reviewers

@harshach, @ayush-shah if you could take a look, please! I hope these changes are helpful! Thanks 🌻

@harshach

Copy link
Copy Markdown
Collaborator

Thanks @pmbrull these changes are great.

@harshach
harshach merged commit 1804de6 into open-metadata:main Oct 14, 2021
@pmbrull
pmbrull deleted the issue-760-precommit branch October 15, 2021 05:53
egwada pushed a commit to egwada/OpenMetadata that referenced this pull request Oct 23, 2026
- ui-core-components: storybook and @storybook/* 8.6.18 -> 8.6.19
  (open-metadata#771, open-metadata#772; GHSA-f2ph-cmg5-wxc8 critical, dev only)
- openmetadata-ui: dompurify 3.4.16 -> 3.4.17 (GHSA-cg2g-xh64-v4q7,
  GHSA-mrv2-3pqr-j5jr, GHSA-c6gr-qvv4-5v3f; same vulnerable version
  Collate flags)
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