add poetry files
This commit is contained in:
+4
-5
@@ -4,11 +4,10 @@
|
||||
"jquery": true
|
||||
},
|
||||
"globals": {
|
||||
"angular": 1,
|
||||
"noty": 1,
|
||||
"app": 1,
|
||||
"_": 1,
|
||||
"moment": 1
|
||||
"angular": true,
|
||||
"noty": true,
|
||||
"_": true,
|
||||
"moment": true
|
||||
},
|
||||
"extends": "eslint:recommended",
|
||||
"rules": {
|
||||
|
||||
+3
-5
@@ -4,7 +4,7 @@
|
||||
PURPLE='\033[0;35m'
|
||||
NC='\033[0m' # No Color
|
||||
|
||||
. "${VIRTUAL_ENV}/bin/activate"
|
||||
source "${VIRTUAL_ENV}/bin/activate"
|
||||
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
@@ -15,10 +15,8 @@ fi
|
||||
set -e
|
||||
|
||||
printf "${PURPLE}Running pre-push tests.${NC}\n"
|
||||
printf "${PURPLE}npm tests...${NC}\n"
|
||||
npm test
|
||||
printf "${PURPLE}pycodestyle tests...${NC}\n"
|
||||
pycodestyle .
|
||||
printf "${PURPLE}linters...${NC}\n"
|
||||
npm run lint
|
||||
printf "${PURPLE}unit tests...${NC}\n"
|
||||
python -Wall manage.py test --noinput
|
||||
set +e
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
"lint": "run-p lint:js lint:md lint:py",
|
||||
"lint:js": "eslint .",
|
||||
"lint:md": "remark .",
|
||||
"lint:py": "pycodestyle --config=setup.cfg --count .",
|
||||
"lint:py": "pycodestyle --config=pycodestyle.cfg --count .",
|
||||
"lint:py-type": "pyright",
|
||||
"prepare": "husky install"
|
||||
},
|
||||
|
||||
Generated
+1242
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,4 @@
|
||||
[pycodestyle]
|
||||
max-line-length = 120
|
||||
ignore = E501,E722
|
||||
exclude = '*/migrations/*', venv/*
|
||||
exclude = '*/migrations/*', venv/*, .venv/*
|
||||
@@ -0,0 +1,60 @@
|
||||
[tool.poetry]
|
||||
name = "web2.0-backend"
|
||||
version = "0.1.0"
|
||||
description = ""
|
||||
authors = ["Your Name <you@example.com>"]
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.9"
|
||||
Pillow = "^8.1.2"
|
||||
"backports.shutil_get_terminal_size" = "1.0.0"
|
||||
decorator = "4.0.9"
|
||||
Django = "2.1.5"
|
||||
ipython = "4.2.0"
|
||||
ipython_genutils = "0.1.0"
|
||||
pexpect = "4.1.0"
|
||||
pickleshare = "0.7.2"
|
||||
ptyprocess = "0.5.1"
|
||||
pytz = "2016.4"
|
||||
simplegeneric = "0.8.1"
|
||||
traitlets = "4.2.1"
|
||||
requests = "2.11.1"
|
||||
django-nocaptcha-recaptcha = "0.0.19"
|
||||
django-cors-headers = "2.0.1"
|
||||
djangorestframework = "3.8.2"
|
||||
PyJWT = "1.6.4"
|
||||
djangorestframework-jwt = "1.11.0"
|
||||
coverage = "4.3.4"
|
||||
django-nose = "1.4.5"
|
||||
nose-exclude = "0.5.0"
|
||||
psycopg2-binary = "2.8.4"
|
||||
django-bootstrap3 = "11.1.0"
|
||||
django-tables2 = "1.6.1"
|
||||
pycodestyle = "2.6.0"
|
||||
dealer = "2.0.5"
|
||||
django-modeltranslation = "0.13b1"
|
||||
django-auditlog = "0.4.5"
|
||||
phonenumbers = "8.11.4"
|
||||
django-phonenumber-field = {version = "4.0.0", extras = ["phonenumbers"]}
|
||||
django-autocomplete-light = "3.4.1"
|
||||
six = "1.12.0"
|
||||
django-suit = "0.2.26"
|
||||
telepot = "12.3"
|
||||
pyexcel = "0.5.14"
|
||||
pyexcel-xlsx = "0.5.8"
|
||||
django-import-export = "0.7.0"
|
||||
openpyxl = "2.6.4"
|
||||
django-app-namespace-template-loader = "0.4.1"
|
||||
django-filter = "2.0.0"
|
||||
whitenoise = "4.1.4"
|
||||
jsonschema = "3.2.0"
|
||||
mailjet-rest = "1.3.3"
|
||||
Markdown = "3.2.2"
|
||||
uWSGI = "2.0.18"
|
||||
gunicorn = "19.9.0"
|
||||
|
||||
[tool.poetry.dev-dependencies]
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core>=1.0.0"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
@@ -16,10 +16,6 @@ Data table app for viewing and modifying the member register, member application
|
||||
|
||||
Mostly static website with an event calendar and news feed.
|
||||
|
||||
### Coffee scale
|
||||
|
||||
Shows the current coffee scale status.
|
||||
|
||||
## Accessing the source
|
||||
|
||||
### Clone this repository and enter it
|
||||
|
||||
Reference in New Issue
Block a user