Commit e3e1264a authored by Pierre Dittgen's avatar Pierre Dittgen
Browse files

Setup dev tools and update requirements

parent 1183c95c
__pycache__/
/.mypy_cache/
/.venv/
\ No newline at end of file
.mypy_cache/
/.venv/
{
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
// List of extensions which should be recommended for users of this workspace.
"recommendations": ["ms-python.python"],
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
"unwantedRecommendations": []
}
{
"python.pythonPath": ".venv/bin/python",
"python.formatting.provider": "black"
"editor.rulers": [120],
"python.pythonPath": ".venv/",
"python.formatting.provider": "black",
"python.linting.enabled": true,
"python.linting.flake8Enabled": true,
"python.linting.mypyEnabled": true,
"python.linting.pylintEnabled": false,
"[python]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
}
}
......@@ -6,13 +6,11 @@
#
appdirs==1.4.4
# via black
black==20.8b1
black==21.6b0
# via -r requirements-dev.in
click==7.1.2
click==8.0.1
# via black
flake8==3.8.4
# via -r requirements-dev.in
isort==5.7.0
flake8==3.9.2
# via -r requirements-dev.in
mccabe==0.6.1
# via flake8
......@@ -20,23 +18,19 @@ mypy-extensions==0.4.3
# via
# black
# mypy
mypy==0.812
mypy==0.902
# via -r requirements-dev.in
pathspec==0.8.1
# via black
pycodestyle==2.6.0
pycodestyle==2.7.0
# via flake8
pyflakes==2.2.0
pyflakes==2.3.1
# via flake8
regex==2020.11.13
regex==2021.4.4
# via black
toml==0.10.2
# via black
typed-ast==1.4.2
# via
# black
# mypy
typing-extensions==3.7.4.3
# via
# black
# mypy
typing-extensions==3.10.0.0
# via mypy
......@@ -2,27 +2,27 @@
# This file is autogenerated by pip-compile
# To update, run:
#
# pip-compile requirements.in
# pip-compile
#
aiodns==2.0.0
aiodns==3.0.0
# via aiohttp
aiohttp[speedups]==3.7.3
aiohttp[speedups]==3.7.4.post0
# via dbnomics-fetcher-toolbox
async-timeout==3.0.1
# via aiohttp
attrs==20.3.0
attrs==21.2.0
# via aiohttp
brotlipy==0.7.0
# via aiohttp
cchardet==2.1.7
# via aiohttp
certifi==2020.12.5
certifi==2021.5.30
# via requests
cffi==1.14.4
cffi==1.14.5
# via
# brotlipy
# pycares
chardet==3.0.4
chardet==4.0.0
# via
# aiohttp
# requests
......@@ -32,7 +32,7 @@ daiquiri==3.0.0
# via dbnomics-fetcher-toolbox
dbnomics-fetcher-toolbox==0.0.9
# via -r requirements.in
humanfriendly==9.1
humanfriendly==9.2
# via dbnomics-fetcher-toolbox
idna==2.10
# via
......@@ -40,17 +40,17 @@ idna==2.10
# yarl
jsonlines==2.0.0
# via dbnomics-fetcher-toolbox
lxml==4.6.2
lxml==4.6.3
# via dbnomics-fetcher-toolbox
multidict==5.1.0
# via
# aiohttp
# yarl
pycares==3.1.1
pycares==4.0.0
# via aiodns
pycparser==2.20
# via cffi
pydantic==1.7.3
pydantic==1.8.2
# via dbnomics-fetcher-toolbox
python-json-logger==2.0.1
# via daiquiri
......@@ -58,13 +58,14 @@ requests==2.25.1
# via -r requirements.in
toolz==0.11.1
# via dbnomics-fetcher-toolbox
typing-extensions==3.7.4.3
typing-extensions==3.10.0.0
# via
# aiohttp
# dbnomics-fetcher-toolbox
# pydantic
ujson==4.0.2
# via dbnomics-fetcher-toolbox
urllib3==1.26.3
urllib3==1.26.5
# via requests
yarl==1.6.3
# via aiohttp
[flake8]
# Recommend matching the black line length (default 120),
# rather than using the flake8 default of 79:
max-line-length = 120
exclude=.venv
extend-ignore =
# See https://github.com/PyCQA/pycodestyle/issues/373
E203,
enable-extensions=G # for flake8-logging-format
[tool:pytest]
addopts = --doctest-modules
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment