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

simplify deps #150

Merged
merged 4 commits into from
Oct 15, 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
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,tests]

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.3.1",
"pytest-sugar==0.9.7",
]

[project.urls]
Expand Down
Loading