Skip to content

Commit 2ba3dbd

Browse files
committed
Add and run end-of-file-fixer
1 parent 88a0dd3 commit 2ba3dbd

File tree

13 files changed

+19
-13
lines changed

13 files changed

+19
-13
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
1+
# This is the configuration for pre-commit, a local framework for managing pre-commit hooks
2+
# Check out the docs at: https://pre-commit.com/
3+
14
default_stages: [commit]
25
repos:
6+
- repo: https://github.com/pre-commit/pre-commit-hooks
7+
rev: v4.2.0
8+
hooks:
9+
- id: end-of-file-fixer
10+
exclude: ".*.min.js"
311
- repo: https://github.com/psf/black
412
rev: 22.3.0
513
hooks:
6-
- id: black
14+
- id: black
715
- repo: https://github.com/pycqa/isort
816
rev: 5.10.1
917
hooks:

GETTING-STARTED.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,4 +208,3 @@ fig
208208
</body>
209209
</html>
210210
```
211-

pyscriptjs/.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ module.exports = {
4343
'@typescript-eslint/restrict-plus-operands': 'warn',
4444
'@typescript-eslint/no-empty-function': 'warn',
4545
},
46-
};
46+
};

pyscriptjs/.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ node_modules
33

44

55
# Ignore all HTML files
6-
*.html
6+
*.html

pyscriptjs/.prettierrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ module.exports = {
1010
svelteIndentScriptAndStyle: true,
1111
tabWidth: 4,
1212
trailingComma: 'all',
13-
}
13+
}

pyscriptjs/examples/mario/js/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
Surrogate.prototype = superclass.prototype;
1212
subclass.prototype = new Surrogate();
1313
}
14-
})()
14+
})()

pyscriptjs/examples/repl.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313

1414
#output > div:nth-child(even) {
1515
border: 0;
16-
}
16+
}

pyscriptjs/examples/toga/freedom.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@
4646

4747
app = main().main_loop(spa=True)
4848
</py-script>
49-
</html>
49+
</html>

pyscriptjs/examples/toga/static/toga.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ main.toga.window {
66

77
div.toga.box {
88
display: flex;
9-
}
9+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Wheels will go here.
1+
Wheels will go here.

pyscriptjs/examples/webgl/raycaster/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ h2::after {
5050
position:absolute;
5151
top: 14px;
5252
padding-left: 5px;
53-
}
53+
}

pyscriptjs/public/.gitkeep

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-

pyscriptjs/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@
2626
"skipLibCheck": true,
2727
"forceConsistentCasingInFileNames": true
2828
}
29-
}
29+
}

0 commit comments

Comments
 (0)