Skip to content

Commit

Permalink
simplify deps
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBernstorff committed Oct 15, 2023
1 parent fa14c24 commit 35c70d7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 18 deletions.
4 changes: 4 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@ type-check:
pyright .

validate:
make install
make lint & make test & make type-check

install:
pip install --upgrade -e .[dev,test]

pr:
make validate
git push
Expand Down
31 changes: 13 additions & 18 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,32 +17,27 @@ classifiers = [
]
requires-python = ">=3.10"
dependencies = [
"misaka>=2.1.1",
"genanki>=0.13.0",
"docopt>=0.6.2",
"wasabi>=0.9.1",
"tqdm>=4.64.1",
"genanki>=0.13.0",
"misaka==2.1.1",
"genanki==0.13.0",
"docopt==0.6.2",
"wasabi==1.1.2",
"tqdm==4.66.1",
"sentry-sdk==1.32.0",
]

[project.optional-dependencies]
dev = [
"cruft>=2.0.0",
"cruft==2.15.0",
"pyright==1.1.331",
"pyright-polite>=0.0.1",
"pre-commit>=2.20.0",
"ruff>=0.0.254",
"black[jupyter]>=22.8.0",
"pandas-stubs>=0.0.0", # type stubs for pandas
"invoke==2.1.0",
"pre-commit==2.20.0",
"ruff==0.0.254",
"black==22.8.0",
]
tests = [
"pytest>=7.1.3",
"pytest-cov>=3.0.0",
"pytest-xdist>=3.0.0",
"pytest-sugar>=0.9.4",
"tox>=4.5.0",
"pytest==7.1.3",
"pytest-cov==3.0.0",
"pytest-xdist==3.0.0",
"pytest-sugar==0.9.4",
]

[project.urls]
Expand Down

0 comments on commit 35c70d7

Please sign in to comment.