Skip to content

Commit

Permalink
Initial SetUp
Browse files Browse the repository at this point in the history
- Modified
- added requirements
- pycharm configuration
  • Loading branch information
ramanaditya committed Oct 9, 2020
1 parent af18714 commit 884a396
Show file tree
Hide file tree
Showing 14 changed files with 144 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ target/
venv/
ENV/

# Environment variables
.env
env

# Rope project settings
.ropeproject

Expand Down
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 38 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/twitstat.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/watcherTasks.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[MAIN]
load-plugins=pylint-flask-0.6

[FORMAT]
max-line-length=120

[MESSAGES CONTROL]
disable=missing-docstring,invalid-name

[DESIGN]
max-parents=13

[TYPECHECK]
generated-members=REQUEST,acl_users,aq_parent,"[a-zA-Z]+_set{1,2}",save,delete
1 change: 1 addition & 0 deletions CONTRIBUTORS.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Aditya Raman
13 changes: 13 additions & 0 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
pytz==2020.1 # https://github.com/stub42/pytz
python-slugify==4.0.1 # https://github.com/un33k/python-slugify
Pillow==7.2.0 # https://github.com/python-pillow/Pillow
argon2-cffi==20.1.0 # https://github.com/hynek/argon2_cffi

# Flask
# ------------------------------------------------------------------------------
click==7.1.2 # https://github.com/pallets/click
Flask==1.1.2 # https://github.com/pallets/Flask
itsdangerous==1.1.0 # https://github.com/pallets/itsdangerous
Jinja2==2.11.2 # https://github.com/pallets/jinja
MarkupSafe==1.1.1 # https://github.com/pallets/markupsafe
Werkzeug==1.0.1 # https://github.com/pallets/werkzeug
19 changes: 19 additions & 0 deletions requirements/local.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
-r ./base.txt

ipdb==0.13.4 # https://github.com/gotcha/ipdb
Sphinx==3.2.1 # https://github.com/sphinx-doc/sphinx
psycopg2-binary==2.8.6 # https://github.com/psycopg/psycopg2

# Testing
# ------------------------------------------------------------------------------
mypy==0.782 # https://github.com/python/mypy
pytest==6.1.1 # https://github.com/pytest-dev/pytest
pytest-sugar==0.9.4 # https://github.com/Frozenball/pytest-sugar

# Code quality
# ------------------------------------------------------------------------------
flake8==3.8.4 # https://github.com/PyCQA/flake8
coverage==5.3 # https://github.com/nedbat/coveragepy
black==20.8b1 # https://github.com/ambv/black
pylint-flask==0.6 # https://github.com/jschaf/pylint-flask
pre-commit==2.7.1 # https://github.com/pre-commit/pre-commit
5 changes: 5 additions & 0 deletions requirements/production.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-r ./base.txt

gunicorn==20.0.4 # https://github.com/benoitc/gunicorn
# psycopg2==2.8.4 --no-binary psycopg2 # https://github.com/psycopg/psycopg2
sentry-sdk==0.14.1 # https://github.com/getsentry/sentry-python

0 comments on commit 884a396

Please sign in to comment.