Browse Source

Adding codestyle enforcement

merge-requests/1/head
Drew Short 6 years ago
parent
commit
72a032f880
  1. 1
      .gitlab-ci.yml
  2. 1
      server/Pipfile
  3. 11
      server/Pipfile.lock

1
.gitlab-ci.yml

@ -13,5 +13,6 @@ Atheneum:Tests:
- pipenv install --dev --system
- PYTHONPATH=$(pwd) coverage run --source atheneum -m pytest
- coverage report
- pycodestyle atheneum
tags:
- docker

1
server/Pipfile

@ -15,6 +15,7 @@ click = "*"
python-dotenv = "*"
pytest = "*"
coverage = "*"
pycodestyle = "*"
[requires]
python_version = "3.6"

11
server/Pipfile.lock

@ -1,7 +1,7 @@
{
"_meta": {
"hash": {
"sha256": "cc944d3cf9e7cc9969cfe57012f1b5408993f39acfacb67902b6072e276013e2"
"sha256": "8dc4936a622c6a8fabd4d2e72934197cbaba024233501077b11d465d402741f4"
},
"pipfile-spec": 6,
"requires": {
@ -281,6 +281,15 @@
],
"version": "==1.5.4"
},
"pycodestyle": {
"hashes": [
"sha256:74abc4e221d393ea5ce1f129ea6903209940c1ecd29e002e8c6933c2b21026e0",
"sha256:cbc619d09254895b0d12c2c691e237b2e91e9b2ecf5e84c26b35400f93dcfb83",
"sha256:cbfca99bd594a10f674d0cd97a3d802a1fdef635d4361e1a2658de47ed261e3a"
],
"index": "pypi",
"version": "==2.4.0"
},
"pytest": {
"hashes": [
"sha256:0453c8676c2bee6feb0434748b068d5510273a916295fd61d306c4f22fbfd752",

Loading…
Cancel
Save