-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exclude few files and apply pre-commit throughout (#412)
* Remove requirement for python 3.9 to be used in pre-commit AFAIK this is entirely not needed and in general just complicates use of pre-commit on systems which no longer (for years) have 3.9 readily available * Exclude .map and .svg files from pre-commit consideration * [DATALAD RUNCMD] Run pre-commit run --all (Closes #411) === Do not change lines below === { "chain": [], "cmd": "pre-commit run --all || :", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
- Loading branch information
1 parent
6dcdb95
commit 7b6a029
Showing
69 changed files
with
644 additions
and
563 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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
exclude: \.(map|svg)$ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v2.3.0 | ||
|
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 |
---|---|---|
@@ -1,17 +1,17 @@ | ||
option_settings: | ||
aws:elasticbeanstalk:application:environment: | ||
DJANGO_SETTINGS_MODULE: "neuvue.settings" | ||
option_settings: | ||
aws:elasticbeanstalk:application:environment: | ||
DJANGO_SETTINGS_MODULE: "neuvue.settings" | ||
PYTHONPATH: "/var/app/current:$PYTHONPATH" | ||
aws:elasticbeanstalk:container:python: | ||
WSGIPath: neuvue.wsgi:application | ||
NumProcesses: 3 | ||
aws:elasticbeanstalk:container:python: | ||
WSGIPath: neuvue.wsgi:application | ||
NumProcesses: 3 | ||
NumThreads: 20 | ||
aws:elasticbeanstalk:environment:proxy:staticfiles: | ||
/static: static | ||
|
||
container_commands: | ||
01_collectstatic: | ||
command: "source /var/app/venv/*/bin/activate && python3 manage.py collectstatic --noinput" | ||
02_migrate: | ||
command: "source /var/app/venv/*/bin/activate && python3 manage.py migrate" | ||
leader_only: true | ||
leader_only: true |
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 |
---|---|---|
|
@@ -18,4 +18,4 @@ Resources: | |
StatusCode: HTTP_301 | ||
Type: redirect | ||
Port: 80 | ||
Protocol: HTTP | ||
Protocol: HTTP |
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 |
---|---|---|
|
@@ -2,4 +2,4 @@ packages: | |
yum: | ||
python3-devel: [] | ||
mariadb105-devel.x86_64: [] | ||
graphviz: [] | ||
graphviz: [] |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
container_commands: | ||
01_reload_nginx: | ||
command: "service nginx reload" | ||
command: "service nginx reload" |
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
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 |
---|---|---|
|
@@ -98,4 +98,4 @@ urllib3==1.26.18 | |
wcwidth==0.1.9 | ||
webcolors==1.13 | ||
zipp==3.18.1 | ||
./deps/neuvue-client | ||
./deps/neuvue-client |
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 |
---|---|---|
|
@@ -19,4 +19,4 @@ pandas | |
Pillow | ||
plotly | ||
requests | ||
./deps/neuvue-client | ||
./deps/neuvue-client |
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 |
---|---|---|
|
@@ -163,4 +163,4 @@ | |
canvas { outline: none; border: none; } | ||
</style> | ||
|
||
{% endblock %} | ||
{% endblock %} |
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
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
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
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
Oops, something went wrong.