Skip to content

Commit

Permalink
Merge pull request #483 from Yelp/bariteau/fix_build_2022_12_12
Browse files Browse the repository at this point in the history
fix build by pinning swagger-spec-validator<3 and fixing flake8 url
  • Loading branch information
benbariteau committed Dec 12, 2022
2 parents fdd4b61 + d50445f commit 8be7100
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repos:
hooks:
- id: autopep8
args: ['-i', '--ignore=E309,E501']
- repo: https://gitlab.com/pycqa/flake8.git
- repo: https://github.com/pycqa/flake8.git
rev: 3.7.9
hooks:
- id: flake8
Expand Down
3 changes: 3 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ envlist = {py27,py36,py37}-{default,fido}, {py27,py36,py37}-fido-requests2dot17,
[testenv]
deps =
py27: pyrsistent<0.17
swagger-spec-validator<3.0.0; python_version<"3.7"
-rrequirements-dev.txt
fido: .[fido]
requests2dot17: requests==2.17.0
Expand Down Expand Up @@ -34,6 +35,8 @@ deps =
#
# See also https://github.com/twisted/twisted/commit/84b79b7bdc164b17877199c27d7e3ff90a8b4e6d
Twisted<21
# since we run in py 2.7 compatible mode, swagger-spec-validator>=3.0.0 causes syntax errors
swagger-spec-validator<3.0.0
-rrequirements-dev.txt
.[fido]
mypy==0.790
Expand Down

0 comments on commit 8be7100

Please sign in to comment.