зеркало из https://github.com/mozilla/libmozevent.git
Update requirements with pre-commit
This commit is contained in:
Родитель
b87d1bf83f
Коммит
3eabd015ee
|
@ -0,0 +1,4 @@
|
|||
[flake8]
|
||||
ignore = E203,W503
|
||||
max-line-length = 159
|
||||
exclude = .git,__pycache__
|
|
@ -0,0 +1,3 @@
|
|||
[settings]
|
||||
known_first_party = libmozevent
|
||||
known_third_party = aioamqp,aiohttp,aioredis,hglib,libmozdata,logbook,pytest,responses,setuptools,structlog,taskcluster
|
|
@ -0,0 +1,45 @@
|
|||
repos:
|
||||
- repo: https://github.com/asottile/seed-isort-config
|
||||
rev: v1.9.2
|
||||
hooks:
|
||||
- id: seed-isort-config
|
||||
- repo: https://github.com/pre-commit/mirrors-isort
|
||||
rev: v4.3.21
|
||||
hooks:
|
||||
- id: isort
|
||||
- repo: https://github.com/ambv/black
|
||||
rev: stable
|
||||
hooks:
|
||||
- id: black
|
||||
- repo: https://gitlab.com/pycqa/flake8
|
||||
rev: 3.7.8
|
||||
hooks:
|
||||
- id: flake8
|
||||
additional_dependencies:
|
||||
- 'flake8-coding==1.3.1'
|
||||
- 'flake8-copyright==0.2.2'
|
||||
- 'flake8-debugger==3.1.0'
|
||||
- 'flake8-mypy==17.8.0'
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v2.2.3
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: check-yaml
|
||||
- id: mixed-line-ending
|
||||
- id: name-tests-test
|
||||
args: ['--django']
|
||||
- id: check-json
|
||||
- repo: https://github.com/codespell-project/codespell
|
||||
rev: v1.15.0
|
||||
hooks:
|
||||
- id: codespell
|
||||
- repo: https://github.com/marco-c/taskcluster_yml_validator
|
||||
rev: v0.0.2
|
||||
hooks:
|
||||
- id: taskcluster_yml
|
||||
- repo: meta
|
||||
hooks:
|
||||
- id: check-useless-excludes
|
||||
|
||||
default_language_version:
|
||||
python: python3.7
|
|
@ -1,3 +1,4 @@
|
|||
-r ./../../lib/cli_common/requirements-dev.txt
|
||||
|
||||
pre-commit
|
||||
pytest
|
||||
pytest-asyncio
|
||||
responses
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
-e ./../../lib/cli_common[pulse,taskcluster,log] #egg=mozilla-cli-common
|
||||
|
||||
aiohttp
|
||||
aioamqp
|
||||
aioredis
|
||||
libmozdata
|
||||
Logbook
|
||||
python-hglib
|
||||
pytoml
|
||||
libmozdata>=0.1.58
|
||||
structlog
|
||||
taskcluster
|
||||
|
|
|
@ -1,88 +0,0 @@
|
|||
aioamqp==0.12.0
|
||||
aiohttp==3.5.4
|
||||
aioredis==1.2.0
|
||||
asn1crypto==0.24.0
|
||||
async-timeout==3.0.1
|
||||
atomicwrites==1.3.0
|
||||
attrs==19.1.0
|
||||
boto3==1.9.123
|
||||
botocore==1.12.123
|
||||
cachetools==3.0.0
|
||||
certifi==2019.3.9
|
||||
cffi==1.11.5
|
||||
chardet==3.0.4
|
||||
Click==7.0
|
||||
codecov==2.0.15
|
||||
coverage==4.5.3
|
||||
coveralls==1.7.0
|
||||
cryptography==2.4.2
|
||||
docopt==0.6.2
|
||||
docutils==0.14
|
||||
entrypoints==0.3
|
||||
fancycompleter==0.8
|
||||
flake8==3.7.7
|
||||
flake8-coding==1.3.1
|
||||
flake8-copyright==0.2.2
|
||||
flake8-debugger==3.1.0
|
||||
flake8-isort==2.7.0
|
||||
flake8-mypy==17.8.0
|
||||
flake8-quotes==1.0.0
|
||||
flit==1.3
|
||||
google-api-python-client==1.7.7
|
||||
google-auth==1.6.2
|
||||
google-auth-httplib2==0.0.3
|
||||
httplib2==0.12.0
|
||||
icalendar==4.0.3
|
||||
idna==2.8
|
||||
intreehooks==1.0
|
||||
isort==4.3.16
|
||||
jmespath==0.9.4
|
||||
libmozdata==0.1.57
|
||||
Logbook==1.4.3
|
||||
mccabe==0.6.1
|
||||
mohawk==1.0.0
|
||||
more-itertools==6.0.0
|
||||
mozdef-client==1.0.11
|
||||
mozilla-cli-common==1.0.0
|
||||
multidict==4.5.2
|
||||
mypy==0.670
|
||||
mypy-extensions==0.4.1
|
||||
oauth2client==4.1.3
|
||||
pdbpp==0.9.14
|
||||
pluggy==0.9.0
|
||||
py==1.8.0
|
||||
pyasn1==0.4.5
|
||||
pyasn1-modules==0.2.3
|
||||
pycodestyle==2.5.0
|
||||
pycparser==2.19
|
||||
pyflakes==2.1.1
|
||||
Pygments==2.3.1
|
||||
pyOpenSSL==19.0.0
|
||||
pytest==4.3.1
|
||||
pytest-asyncio==0.10.0
|
||||
pytest-cov==2.6.1
|
||||
pytest-runner==4.4
|
||||
python37==interpreter
|
||||
python-dateutil==2.6.1
|
||||
python-hglib==2.6.1
|
||||
pytoml==0.1.20
|
||||
pytz==2018.9
|
||||
raven==6.10.0
|
||||
requests==2.21.0
|
||||
requests-futures==0.9.9
|
||||
responses==0.10.6
|
||||
rsa==4.0
|
||||
s3transfer==0.2.0
|
||||
setuptools-scm==3.2.0
|
||||
six==1.12.0
|
||||
slugid==2.0.0
|
||||
structlog==19.1.0
|
||||
taskcluster==7.0.1
|
||||
taskcluster-urls==11.0.0
|
||||
testfixtures==6.6.2
|
||||
typed-ast==1.3.1
|
||||
uritemplate==3.0.0
|
||||
urllib3==1.24.1
|
||||
whatthepatch==0.0.5
|
||||
wmctrl==0.3
|
||||
yarl==1.3.0
|
|
@ -1 +0,0 @@
|
|||
../../nix/setup.cfg
|
Загрузка…
Ссылка в новой задаче