-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
#21 Upgrade to django 2
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
service_name: travis-ci | ||
service_name: travis-ci |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[flake8] | ||
# TODO#34: Clean up flake8 issue. | ||
ignore = E203,E722,F401,F403,F811,F821,F841,W503 | ||
max-line-length = 120 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,4 @@ Procfile | |
.tox | ||
.coverage | ||
htmlcov | ||
/database.db |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
exclude: "^.idea" | ||
|
||
repos: | ||
- repo: https://github.com/pre-commit/mirrors-isort | ||
rev: v5.10.1 | ||
hooks: | ||
- id: isort | ||
|
||
- repo: https://github.com/ambv/black | ||
rev: 22.10.0 | ||
hooks: | ||
- id: black | ||
|
||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
rev: v3.0.0-alpha.4 | ||
hooks: | ||
- id: prettier | ||
|
||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.3.0 | ||
hooks: | ||
- id: fix-byte-order-marker | ||
- id: trailing-whitespace | ||
- id: check-added-large-files | ||
- id: check-ast | ||
- id: check-merge-conflict | ||
- id: check-yaml | ||
- id: debug-statements | ||
- id: end-of-file-fixer | ||
- id: mixed-line-ending | ||
|
||
- repo: https://github.com/pycqa/flake8 | ||
rev: 5.0.4 | ||
hooks: | ||
- id: flake8 | ||
additional_dependencies: ["pep8-naming==0.12.1"] | ||
|
||
# NOTE: This should be the last check to ensure everything else is checked | ||
# even for the rare case a commit should go into one of the protected | ||
# branches. | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.3.0 | ||
hooks: | ||
- id: no-commit-to-branch | ||
args: ["--branch", "develop"] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Ignore Django templates which otherwise prettier would destroy by inserting | ||
# syntactically invalid new lines. | ||
*.html |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
version: "3.8" | ||
services: | ||
postgres: | ||
container_name: "pygraz_postgres" | ||
image: "postgres:14" | ||
volumes: | ||
- postgres-data:/var/lib/postgresql/data | ||
ports: | ||
- "5433:5432" | ||
environment: | ||
POSTGRES_USERNAME: "postgres" | ||
POSTGRES_PASSWORD: "deMo.123" | ||
|
||
volumes: | ||
postgres-data: | ||
driver: local |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,4 @@ | |
.codeintel | ||
*.DS_Store | ||
*.zip | ||
*.lst | ||
*.lst |