Skip to content

Commit

Permalink
Project setup
Browse files Browse the repository at this point in the history
  • Loading branch information
vrocha committed Dec 5, 2020
0 parents commit 5e47359
Show file tree
Hide file tree
Showing 22 changed files with 1,288 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[run]
branch = true
omit = */venv/*, */tests/*, */migrations/*, */management/commands/*, */urls.py, */settings/*, */wsgi.py, manage.py
source = .

[report]
show_missing = true
27 changes: 27 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
.project
.pydevproject
*~
*.db
*.orig
*.DS_Store
.coverage
*.pyc
*.pyo
.*.swp
.venv
.idea
*/settings/local.py
local.py
secrets.sls
apache-solr-*/
output.json
htmlcov
coverage.sh
aoc/data/
build
backups
iticket/local.py
public/*
.env
.vscode
*.log
18 changes: 18 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
repos:
- repo: https://github.com/pre-commit/mirrors-autopep8
rev: master
hooks:
- id: autopep8
- repo: git://github.com/pre-commit/pre-commit-hooks
rev: v2.0.0
hooks:
- id: trailing-whitespace
- id: flake8
- id: check-added-large-files
- id: debug-statements
- id: end-of-file-fixer
exclude: '^.+?\.json$'
default_language_version:
python: python3.6
files: '^.+?\.py$'
exclude: 'static/|media/|migrations/'
3 changes: 3 additions & 0 deletions DOKKU_SCALE
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
web=1
worker=1
beat=1
36 changes: 36 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[dev-packages]
factory-boy = "2.12.0"
django-nose = "*"
"flake8" = "*"
mock = "*"
"pep8" = "*"
pylint = "*"
coverage = "*"
django-debug-toolbar = "*"
pre-commit = "*"

[packages]
uwsgi = "*"
django = "==2.2.10"
cssselect = "==1.0.3"
dateutils = "==0.6.6"
markdown = "==3.0.1"
"psycopg2" = "==2.8.4"
pycrypto = "==2.6.1"
python-dateutil = "==2.7.3"
pytz = "===2018.5"
requests = "==2.20.0"
simplejson = "==3.16.0"
six = "==1.15.0"
sqlparse = "==0.2.4"
dj-database-url = "*"
django-dotenv = "==1.3.0"
celery = "==4.3.0"

[requires]
python_version = "3.8"
Loading

0 comments on commit 5e47359

Please sign in to comment.