Skip to content

Commit 81cd262

Browse files
committed
♻️ REFORMAT: new implementation
1 parent 42fae80 commit 81cd262

23 files changed

+1066
-550
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,12 @@ repos:
2121
hooks:
2222
- id: flake8
2323

24-
- repo: https://github.com/executablebooks/scss-compile
25-
rev: v0.1.1
26-
hooks:
27-
- id: scss-compile
28-
args: [--config=scss-compile-config.yml]
24+
# - repo: https://github.com/executablebooks/web-compile
25+
# rev: v0.2.0
26+
# hooks:
27+
# - id: web-compile
28+
# files: >-
29+
# (?x)^(
30+
# tests/example_src/.*|
31+
# tests/example_dist/.*
32+
# )$

.pre-commit-hooks.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
- id: scss-compile
2-
name: Compile SCSS
3-
description: This hook compiles SCSS to CSS.
4-
entry: scss-compile
1+
- id: web-compile
2+
name: Compile Web Assets
3+
description: This hook compiles SCSS to CSS and minifies JS.
4+
entry: web-compile
55
language: python
66
language_version: python3
77
require_serial: true
8-
types: [scss]
8+
# types: [css, javascript, jinja2, json, scss, toml, yaml]
9+
types: [text]

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ exclude .pre-commit-config.yaml
77
exclude .readthedocs.yml
88
exclude .flake8
99
exclude tox.ini
10-
exclude scss-compile-config.yml
10+
exclude web-compile-config.yml
1111

1212
include LICENSE
1313
include README.md

0 commit comments

Comments
 (0)