Skip to content
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
36 changes: 18 additions & 18 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: trailing-whitespace
exclude: "tests/testdata/"
- id: end-of-file-fixer
- id: end-of-file-fixer
exclude: "tests/testdata/"
- id: check-yaml
- id: check-added-large-files
args: ['--maxkb=5000']
- repo: https://github.com/kynan/nbstripout
- id: check-yaml
- id: check-added-large-files
args: ["--maxkb=5000"]
- repo: https://github.com/kynan/nbstripout
rev: 0.4.0
hooks:
- id: nbstripout
- repo: https://github.com/myint/autoflake
- id: nbstripout
- repo: https://github.com/myint/autoflake
rev: v1.4
hooks:
- id: autoflake
- id: autoflake
args:
- --in-place
- --remove-all-unused-imports
- repo: https://github.com/timothycrosley/isort
rev: 5.8.0
- --in-place
- --remove-all-unused-imports
- repo: https://github.com/timothycrosley/isort
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 22.3.0
- id: isort
- repo: https://github.com/psf/black
rev: 24.10.0
hooks:
- id: black
- id: black
41 changes: 15 additions & 26 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,39 +4,28 @@ version = "0.1.0"
description = "A Python Package Template"
readme = "README.md"
requires-python = ">=3.6"
license = {file = "LICENSE.txt"}
authors = [
{email = "baeisner@andrew.cmu.edu", name = "Ben Eisner"}
]
dependencies = [
"numpy",
"tqdm",
]
license = { file = "LICENSE.txt" }
authors = [{ email = "baeisner@andrew.cmu.edu", name = "Ben Eisner" }]
dependencies = ["numpy", "pandas", "tqdm", "typer"]

[build-system]
requires = [
"setuptools >= 62.3.2",
"setuptools-scm",
"wheel",
]
requires = ["setuptools >= 62.3.2", "setuptools-scm", "wheel"]
build-backend = "setuptools.build_meta"

[project.optional-dependencies]
develop = [
"pytest",
"black >= 22.3.0",
"isort",
"mypy >= 1.0",
"pylint",
"autoflake",
"pre-commit",
"jupyterlab",
"types-tqdm",
]
build_docs = [
"mkdocs-material",
"mkdocstrings[python]",
"pytest",
"black >= 24.10.0",
"isort",
"mypy >= 1.0",
"pylint",
"autoflake",
"pre-commit",
"jupyterlab",
"types-tqdm",
"pandas-stubs",
]
build_docs = ["mkdocs-material", "mkdocstrings[python]"]

# This is required to allow us to have notebooks/ at the top level.
[tool.setuptools.packages.find]
Expand Down
Loading
Loading