~muirrum/comortas

a49662045fa3ef7bb6360e586076cc1e54caeb7b — Cara Salter 3 years ago 930e7cf
Add black formatter
3 files changed, 27 insertions(+), 1 deletions(-)

A .build.yml
A dev-requirements.txt
M requirements.txt
A .build.yml => .build.yml +17 -0
@@ 0,0 1,17 @@
image: alpine/latest

packages:
  - python3
  - py3-pip

sources:
  - https://git.sr.ht/~muirrum/comortas

tasks:
  - setup: |
    cd comortas
    pip install -r requirements.txt
    pip install -r dev-requirements.txt
  - lint: |
    cd comortas
    black --check --diff fllscoring/

A dev-requirements.txt => dev-requirements.txt +1 -0
@@ 0,0 1,1 @@
black==20.8b1

M requirements.txt => requirements.txt +9 -1
@@ 1,12 1,18 @@
alembic==1.5.8
Babel==2.9.0
blinker==1.4
click==7.1.2
decorator==5.0.7
dnspython==2.1.0
dominate==2.6.0
email-validator==1.1.2
Flask==1.1.2
Flask-BabelEx==0.9.4
Flask-Login==0.5.0
Flask-Mail==0.9.1
Flask-Migrate==2.7.0
Flask-Principal==0.4.0
Flask-Security==3.0.0
Flask-SQLAlchemy==2.5.1
Flask-WTF==0.14.3
greenlet==1.0.0


@@ 18,11 24,13 @@ itsdangerous==1.1.0
Jinja2==2.11.3
Mako==1.1.4
MarkupSafe==1.1.1
pkg-resources==0.0.0
passlib==1.7.4
psycopg2==2.8.6
python-dateutil==2.8.1
python-editor==1.0.4
pytz==2021.1
six==1.15.0
speaklater==1.3
SQLAlchemy==1.4.7
SQLAlchemy-Utils==0.37.0
typing-extensions==3.7.4.3