Skip to content

Commit

Permalink
include flake8 and config
Browse files Browse the repository at this point in the history
  • Loading branch information
monobot committed Mar 20, 2019
1 parent f2a1671 commit b0c9139
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[flake8]
max-line-length = 160
exclude = tests/*
max-complexity = 10
3 changes: 2 additions & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@ black = "==18.9b0"
bumpversion = "==0.5.3"
codacy-coverage = ">=1.3.11"
coverage = "==4.5"
flake8 = "*"
isort = "*"
netaddr = ">=0.7.19<0.8"
pylint = "*"
pytest = "*"
pytest-asyncio = "*"
rope = "*"
Sphinx = "*"
tox = ">=3.7.0<3.8"
isort = "*"

[packages]
asyncpg = "==0.18.3"
Expand Down
31 changes: 30 additions & 1 deletion Pipfile.lock

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

2 changes: 0 additions & 2 deletions asyncorm/database/backends/postgres_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
from asyncorm.database.backends.sql_base_backend import SQLBaseBackend
from asyncorm.database.cursor import Cursor
from asyncorm.database.query_list import QueryStack
from asyncorm.exceptions import AsyncormTransactionRollback
from asyncorm.log import logger


class PostgresBackend(SQLBaseBackend):
Expand Down

0 comments on commit b0c9139

Please sign in to comment.