File tree Expand file tree Collapse file tree 4 files changed +13
-13
lines changed
Expand file tree Collapse file tree 4 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -24,14 +24,10 @@ lint: \
2424 yapf
2525
2626.PHONY : fix-lint
27- fix-lint :
28- # Move imports to a single line so that autoflake can handle them.
29- # See https://github.com/myint/autoflake/issues/8.
30- # Then later we put them back.
31- isort --force-single-line --recursive --apply
32- $(MAKE ) autoflake
33- $(MAKE ) fix-yapf
34- isort --recursive --apply
27+ fix-lint : \
28+ autoflake \
29+ fix-yapf \
30+ fix-isort
3531
3632.PHONY : docs
3733docs :
Original file line number Diff line number Diff line change @@ -14,13 +14,13 @@ flake8-commas==2.0.0 # Require silicon valley commas
1414flake8-quotes==3.2.0 # Require single quotes
1515flake8==3.8.3 # Lint
1616freezegun==0.3.15
17- isort==4.3.21 # Lint imports
17+ isort==5.4.2 # Lint imports
1818mypy==0.782 # Type checking
1919pip_check_reqs==2.1.1
2020pydocstyle==5.1.0 # Lint docstrings
2121pyenchant==3.1.1 # Bindings for a spellchecking sytem
2222pygithub==1.53
23- pylint==2.5.3 # Lint
23+ pylint==2.6.0 # Lint
2424pyroma==2.6 # Packaging best practices checker
2525pytest-cov==2.10.1 # Measure code coverage
2626pytest==6.0.1 # Test runners
Original file line number Diff line number Diff line change @@ -36,7 +36,11 @@ flake8:
3636
3737.PHONY : isort
3838isort :
39- isort --recursive --check-only
39+ isort --check-only .
40+
41+ .PHONY : fix-isort
42+ fix-isort :
43+ isort .
4044
4145.PHONY : pip-extra-reqs
4246pip-extra-reqs :
Original file line number Diff line number Diff line change @@ -338,8 +338,8 @@ def decorated() -> None:
338338
339339 try :
340340 decorated ()
341- except FunctionTimedOut :
342- raise TargetProcessingTimeout
341+ except FunctionTimedOut as exc :
342+ raise TargetProcessingTimeout from exc
343343
344344 def list_targets (self ) -> List [str ]:
345345 """
You can’t perform that action at this time.
0 commit comments