Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unpin dev-only dependencies + disable dependabot #1661

Merged
merged 2 commits into from
Jul 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,3 @@ updates:
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-patch"]
- package-ecosystem: pip
directory: /
schedule:
interval: "weekly"
labels:
- internal
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-patch"]
20 changes: 4 additions & 16 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@
'ipython',
'tox',
'memray',
'boto3-stubs[s3]',
'django-stubs',
'djangorestframework-stubs',
'types-setuptools',
],
'test': [
'factory-boy',
Expand All @@ -94,21 +98,5 @@
'pytest-memray',
'pytest-mock',
],
'lint': [
'flake8==6.0.0',
'flake8-black==0.3.6',
'flake8-bugbear==23.6.5',
'flake8-docstrings==1.7.0',
'flake8-isort==6.0.0',
'flake8-quotes==3.3.2',
'pep8-naming==0.13.3',
],
'type': [
'mypy==1.4.1',
'boto3-stubs[s3]==1.26.50',
'django-stubs==4.2.0',
'djangorestframework-stubs==3.14.0',
'types-setuptools==68.0.0.0',
],
},
)
13 changes: 10 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,25 @@ envlist =

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

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

Expand Down