Skip to content

Commit 1b1c2a9

Browse files
committed
Repackaged with proper monorepo organization.
-One aspect of this involved rewriting the pre-commit configuration.
1 parent ecd0d3a commit 1b1c2a9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+898
-130
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ yarn-error.log
349349
# Editor directories and files
350350
.idea
351351
.vscode
352+
*.code-workspace
352353
*.suo
353354
*.ntvs*
354355
*.njsproj
@@ -380,4 +381,4 @@ migrations
380381
frontend/webpack-stats.json
381382

382383
# Tortoise ORM
383-
*.sqlite*
384+
*.sqlite*

.pre-commit-config.yaml

+37-30
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,39 @@
1+
aliases:
2+
- &python_settings
3+
types: [python]
4+
exclude: >
5+
(?x)^(
6+
.+/migrations/.+|
7+
)$
8+
19
repos:
2-
- repo: local
10+
- repo: https://github.com/pre-commit/mirrors-isort
11+
rev: v4.3.21
312
hooks:
4-
- id: isort
5-
name: isort
6-
stages: [commit]
7-
language: system
8-
entry: isort
9-
types: [python]
10-
11-
- id: black
12-
name: black
13-
stages: [commit]
14-
language: system
15-
entry: black
16-
types: [python]
17-
18-
- id: flake8
19-
name: flake8
20-
stages: [commit]
21-
language: system
22-
entry: flake8
23-
types: [python]
24-
exclude: setup.py
25-
26-
- id: mypy
27-
name: mypy
28-
stages: [commit]
29-
language: system
30-
entry: mypy
31-
types: [python]
32-
pass_filenames: true
13+
- <<: *python_settings
14+
id: isort
15+
- repo: https://github.com/python/black
16+
rev: 19.10b0
17+
hooks:
18+
- <<: *python_settings
19+
id: black
20+
- repo: https://gitlab.com/pycqa/flake8
21+
rev: 3.7.9
22+
hooks:
23+
- <<: *python_settings
24+
id: flake8
25+
- repo: https://github.com/pre-commit/pre-commit-hooks
26+
rev: v2.5.0
27+
hooks:
28+
- id: check-added-large-files
29+
- id: check-ast
30+
- id: check-builtin-literals
31+
- id: check-executables-have-shebangs
32+
- id: check-merge-conflict
33+
- id: check-toml
34+
- id: check-vcs-permalinks
35+
- id: check-yaml
36+
- id: debug-statements
37+
- id: detect-private-key
38+
- id: end-of-file-fixer
39+
files: '^.*\.(py|mjml|js|jsx|tf|tfvars|conf)$'
File renamed without changes.

0 commit comments

Comments
 (0)