Skip to content

Commit

Permalink
isort and add scipy as dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
t7phy committed Jun 18, 2024
1 parent c48429b commit 07e81f8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@
def run_apidoc(_):
import sys # pylint: disable=import-outside-toplevel

from sphinx.ext.apidoc import main # pylint: disable=import-outside-toplevel
from sphinx.ext.apidoc import \
main # pylint: disable=import-outside-toplevel

sys.path.append(str(here.parent))
# 'banana'
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ PyYAML = "^6.0"
click = "^8.0.3"
pendulum = "^3.0.0"
appdirs = "^1.4.4"
scipy = "^1.11.1"

[tool.poetry.group.docs]
optional = true
Expand Down
1 change: 0 additions & 1 deletion src/banana/data/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import sqlalchemy
from sqlalchemy import Column, DateTime, Float, Integer, String, Text

# from sqlalchemy.sql import func
from sqlalchemy.ext.declarative import declarative_base

Expand Down
3 changes: 2 additions & 1 deletion tests/test_toy.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from banana import toy
from scipy.integrate import quad

from banana import toy

pdf = toy.mkPDF("", 0)
ff = toy.mkPDF("ToyFF_unpolarized", 0)

Expand Down

0 comments on commit 07e81f8

Please sign in to comment.