Skip to content
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.

Commit

Permalink
Adds environment variables generator
Browse files Browse the repository at this point in the history
  • Loading branch information
cuducos committed Mar 13, 2020
1 parent 32c5c30 commit 491ac3c
Show file tree
Hide file tree
Showing 8 changed files with 360 additions and 170 deletions.
19 changes: 0 additions & 19 deletions .env.sample

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Mypy

on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

steps:

- uses: actions/checkout@v1

- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -U black
- name: Run Mypy static type checker
run: mypy env.py
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
*.pyc
*.sqlite3
.env
.mypy_cache/
__pycache__/
data/
staticfiles/
5 changes: 3 additions & 2 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ flower = "*"
ipdb = "*"
isort = "*"
ipython = "*"
mypy = "*"

[packages]
arrow = "*"
botometer = "*"
celery = "*"
click = "*"
dj-database-url = "*"
django = "*"
django-cors-headers = "*"
Expand All @@ -27,7 +27,8 @@ psycopg2-binary = "*"
python-decouple = "*"
tqdm = "*"
tweepy = "*"
whitenoise = {extras = ["brotli"],version = "*"}
typer = {extras = ["click-completion"], version = "*"}
whitenoise = {extras = ["brotli"], version = "*"}

[requires]
python_version = "3.8"
Loading

0 comments on commit 491ac3c

Please sign in to comment.