Skip to content

Commit

Permalink
remove scipy from precommit.ci due to size limit
Browse files Browse the repository at this point in the history
  • Loading branch information
kjmeagher committed Oct 4, 2023
1 parent 1c98b4d commit 560ba7c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ repos:
hooks:
- id: pylint
files: ehist
additional_dependencies: [numpy, matplotlib, scipy]
args: [--ignore=E401]
additional_dependencies: [numpy, matplotlib]
- repo: https://github.com/fsfe/reuse-tool
rev: v2.1.0
hooks:
Expand Down
4 changes: 2 additions & 2 deletions ehist/hist1d.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

import numpy as np
import pylab as plt
from scipy import integrate, optimize
from scipy.stats import poisson
from scipy import integrate, optimize # pylint: disable=import-error
from scipy.stats import poisson # pylint: disable=import-error

from .axis import IntAxis, LogIntAxis, auto_axis
from .util import HorizontalPlot, VerticalPlot, handle_weights
Expand Down
2 changes: 1 addition & 1 deletion examples/plot_ehist.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import numpy as np
import pylab as plt
from scipy import stats
from scipy import stats # pylint: disable=import-error

from ehist import Hist1D as h1

Expand Down

0 comments on commit 560ba7c

Please sign in to comment.