Workflow to check JS and PY code format (#242)

* fix css files
* create workflow
* format code using prettier
* black ignore 3rd party folder
* format py code using black
* black exclude option in workflow
* Don't format workflow files
* Add contributing instructions to readme
---------
Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
Raghavan
2024-02-07 04:55:44 +05:30
committed by GitHub
parent 1c6875f746
commit 228c294ffa
87 changed files with 42300 additions and 30749 deletions

View File

@@ -8,28 +8,28 @@ interface: js
hooks:
- name: Run Rules on scan
description: Updates scene info whenever a new scene is added.
triggeredBy:
triggeredBy:
- Scene.Create.Post
tasks:
- name: Create Tags
description: Create tags used by the path parser tasks.
defaultArgs:
task: createTags
runTag: '[Run]'
testTag: '[Test]'
runTag: "[Run]"
testTag: "[Test]"
- name: Remove Tags
description: Remove tags used by the path parser tasks.
defaultArgs:
task: removeTags
runTag: '[Run]'
testTag: '[Test]'
runTag: "[Run]"
testTag: "[Test]"
- name: Run Rules
description: Run rules for scenes containing the run tag.
defaultArgs:
task: runRules
runTag: '[Run]'
runTag: "[Run]"
- name: Test Rules
description: Test rules for scenes containing the test tag.
defaultArgs:
task: testRules
testTag: '[Test]'
testTag: "[Test]"