Skip to content

Commit

Permalink
Merge pull request #1402 from dandi/dependabot-python-ci-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
mvandenburgh authored Dec 16, 2022
2 parents bf2f0e1 + 94eb6c0 commit ce14078
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 15 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,9 @@ updates:
include: scope
labels:
- internal
- package-ecosystem: pip
directory: /
schedule:
interval: "weekly"
labels:
- internal
20 changes: 16 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,6 @@
'django-s3-file-field[minio]',
'ipython',
'tox',
'boto3-stubs[s3]',
'django-stubs',
'djangorestframework-stubs',
'types-setuptools',
'memray',
],
'test': [
Expand All @@ -90,5 +86,21 @@
'pytest-memray',
'pytest-mock',
],
'lint': [
'flake8==5.0.4',
'flake8-black==0.3.5',
'flake8-bugbear==22.12.6',
'flake8-docstrings==1.6.0',
'flake8-isort==5.0.3',
'flake8-quotes==3.3.1',
'pep8-naming==0.13.2',
],
'type': [
'mypy==0.982',
'boto3-stubs[s3]==1.26.27',
'django-stubs==1.13.1',
'djangorestframework-stubs==1.8.0',
'types-setuptools==65.6.0.2',
],
},
)
14 changes: 3 additions & 11 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,15 @@ envlist =

[testenv:lint]
skipsdist = true
skip_install = true
deps =
flake8<6
flake8-black >= 0.2.4
flake8-bugbear
flake8-docstrings
flake8-isort
flake8-quotes
pep8-naming
extras =
lint
commands =
flake8 --config=tox.ini {posargs:.}

[testenv:type]
deps =
mypy==0.982
extras =
dev
type
commands =
mypy {posargs:dandiapi/}

Expand Down

0 comments on commit ce14078

Please sign in to comment.