-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+ pytest discover speed fixes + docker build, pip install thenewboston.tar.gz if available + flake8 rules to discuss + requests mocker + test with request mock + some fixes
- Loading branch information
Showing
18 changed files
with
130 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[run] | ||
omit = */tests/* | ||
*/factories/* | ||
*/migrations/* | ||
*/urls.py | ||
branch = True | ||
|
||
include = | ||
v1/* | ||
; parallel = true | ||
; concurrency = multiprocessing | ||
|
||
[report] | ||
precision = 2 | ||
ignore_errors = True | ||
exclude_lines = | ||
pragma: no cover | ||
raise NotImplementedError | ||
except ImportError | ||
def __repr__ | ||
def __str__ | ||
if self\.logger\.debug | ||
if __name__ == .__main__.: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[flake8] | ||
ignore = D203,D101,D400,D401,D106,W503,F403,F405,E501,D403,D104 | ||
exclude = | ||
.git, | ||
__pycache__, | ||
migrations | ||
filename = | ||
*.py | ||
max-complexity = 12 | ||
import-order-style = google | ||
; application-import-names = | ||
max-line-length = 120 | ||
max-linenumber = 500 | ||
accept-encodings = utf-8,utf-16 | ||
inline-quotes = single | ||
multiline-quotes = double |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
[pytest] | ||
DJANGO_SETTINGS_MODULE = config.settings.local | ||
python_files = tests/*.py | ||
norecursedirs = .* .git *.egg build dist tmp* node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
celery==4.4.2 | ||
django-debug-toolbar==2.2 | ||
django-debug-toolbar==3.1.1 | ||
django-filter==2.3.0 | ||
django-redis==4.11.0 | ||
flower==0.9.4 | ||
redis==3.5.2 | ||
tblib==1.6.0 | ||
thenewboston==0.0.19 | ||
wheel==0.34.2 | ||
wheel==0.35.1 | ||
requests-mock==1.8.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.