Skip to content

Commit

Permalink
update black version, linting
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdefinitelyahuman committed Nov 4, 2019
1 parent 1505cb7 commit fa3d518
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
3 changes: 2 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
black==19.3b0
black==19.10b0
coveralls==1.7.0
flake8==3.7.7
pytest>=5.0.0
pytest-cov>=2.7.1
tox-travis==0.12
Expand Down
4 changes: 1 addition & 3 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,7 @@ def anon_a_log():
log = BASE_LOG.copy()
log[
"data"
] = (
"0x00000000000000000000000066ab6d9362d4f35596279692f0251db635165871"
) # NOQA: E501
] = "0x00000000000000000000000066ab6d9362d4f35596279692f0251db635165871" # NOQA: E501
log["topics"] = []
return log

Expand Down
8 changes: 6 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,14 @@ python =
max-line-length=100

[testenv:lint]
deps=black
deps =
black==19.10b0
flake8==3.7.7
basepython=python3
extras=linter
commands=black --check {toxinidir}/eth_event/ {toxinidir}/tests/
commands =
black --check {toxinidir}/eth_event/ {toxinidir}/tests/
flake8 {toxinidir}/eth_event/ {toxinidir}/tests/

[testenv:py36]
deps=pytest
Expand Down

0 comments on commit fa3d518

Please sign in to comment.