-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
199 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ | |
/config.toml | ||
/data/ | ||
/html/ | ||
node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
lts/hydrogen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.0.0 | ||
hooks: | ||
# blocks files larger than 500 KB | ||
- id: check-added-large-files | ||
|
||
# blocks files with leftover merge conflict markers | ||
- id: check-merge-conflict | ||
|
||
- id: no-commit-to-branch | ||
name: Block commits to main branch | ||
|
||
- repo: local | ||
hooks: | ||
- id: ruff | ||
name: Lint files with ruff | ||
args: [check, --target-version, py311, --fix, --show-fixes] | ||
entry: ruff | ||
language: system | ||
types: [python] | ||
|
||
- id: black | ||
name: Format files with black | ||
args: [-t, py311] | ||
entry: black | ||
language: system | ||
types: [python] | ||
|
||
- id: prettier | ||
name: Format files with prettier | ||
args: [prettier, -l, -u, -w] | ||
entry: npx | ||
exclude: \.py$ | ||
language: system | ||
types: [text] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
package-lock.json |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"devDependencies": { | ||
"prettier": "^3.0.3", | ||
"prettier-plugin-toml": "^1.0.0" | ||
}, | ||
"prettier": { | ||
"plugins": [ | ||
"prettier", | ||
"prettier-plugin-toml" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pre-commit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# | ||
# This file is autogenerated by pip-compile with Python 3.11 | ||
# by the following command: | ||
# | ||
# pip-compile dev.in | ||
# | ||
cfgv==3.4.0 | ||
# via pre-commit | ||
distlib==0.3.7 | ||
# via virtualenv | ||
filelock==3.13.1 | ||
# via virtualenv | ||
identify==2.5.31 | ||
# via pre-commit | ||
nodeenv==1.8.0 | ||
# via pre-commit | ||
platformdirs==3.11.0 | ||
# via virtualenv | ||
pre-commit==3.5.0 | ||
# via -r dev.in | ||
pyyaml==6.0.1 | ||
# via pre-commit | ||
virtualenv==20.24.6 | ||
# via pre-commit | ||
|
||
# The following packages are considered to be unsafe in a requirements file: | ||
# setuptools |