Skip to content

Commit

Permalink
Add ruff pre-commit, small cleanup of code.
Browse files Browse the repository at this point in the history
  • Loading branch information
cgevans committed Aug 1, 2023
1 parent c1085d2 commit 439df91
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Expand Up @@ -8,6 +8,12 @@ repos:
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.0.281
hooks:
- id: ruff
args: [ --fix, --exit-non-zero-on-fix ]
- repo: https://github.com/psf/black
rev: 21.5b2
hooks:
Expand Down
4 changes: 0 additions & 4 deletions src/scikits/bootstrap/bootstrap.py
Expand Up @@ -21,7 +21,6 @@
Tuple,
Iterable,
Iterator,
Type,
TYPE_CHECKING,
)
else:
Expand Down Expand Up @@ -63,9 +62,6 @@
"bootstrap_indices_moving_block",
)

if False:
import pandas as pd

s2 = sqrt(2)


Expand Down

0 comments on commit 439df91

Please sign in to comment.