fix: Clean up whitespace and formatting in various files
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -300,4 +300,3 @@ dist
|
||||
.yarn/install-state.gz
|
||||
.pnp.*
|
||||
.pnpm-store/
|
||||
|
||||
|
||||
15
markdown_view_plugin/.pre-commit-config.yaml
Executable file
15
markdown_view_plugin/.pre-commit-config.yaml
Executable file
@@ -0,0 +1,15 @@
|
||||
repos:
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.1.11
|
||||
hooks:
|
||||
- id: ruff
|
||||
args: [--fix]
|
||||
- id: ruff-format
|
||||
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.5.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
- id: check-yaml
|
||||
- id: check-added-large-files
|
||||
@@ -82,4 +82,3 @@ class MarkdownViewPlugin(AirflowPlugin):
|
||||
# For Airflow to pick up the plugin, the class name must match the filename (snake_case to PascalCase)
|
||||
# or be explicitly defined in an __init__.py in the plugin\'s root directory.
|
||||
# Assuming filename is markdown_view_plugin.py, class MarkdownViewPlugin is correct.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user