Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidKoleczek committed Mar 9, 2024
1 parent 55464b0 commit 793eeb0
Show file tree
Hide file tree
Showing 7 changed files with 408 additions and 428 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
branches: [main]

env:
POETRY_VERSION: "1.7.1"
POETRY_VERSION: "1.8.2"
PYTHON_VERSION: "3.11"

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: python
on: [push, pull_request]

env:
POETRY_VERSION: "1.7.1"
POETRY_VERSION: "1.8.2"
PYTHON_VERSION: "3.12"

jobs:
Expand Down
797 changes: 390 additions & 407 deletions poetry.lock

Large diffs are not rendered by default.

17 changes: 7 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ python = "^3.11, <3.13"

# Optional dependencies are defined here, and groupings are defined below.
numpy = { version = "^1.26.4", optional = true }
openai = { version = "^1.12.0", optional = true }
pandas = { version = "^2.2.0", optional = true }
python-liquid = { version = "^1.12.0", optional = true }
openai = { version = "^1.13.3", optional = true }
pandas = { version = "^2.2.1", optional = true }
python-liquid = { version = "^1.12.1", optional = true }
scipy = { version = "^1.12.0", optional = true }
scikit-learn = { version = "^1.4.0", optional = true }
scikit-learn = { version = "^1.4.1.post1", optional = true }
seaborn = { version = "^0.13.2", optional = true }
tiktoken = { version = "^0.6.0", optional = true }

Expand Down Expand Up @@ -86,10 +86,10 @@ disallow_untyped_calls = false
[tool.ruff]
line-length = 120
target-version = "py311"
src = ["src"]
src = ["src", "tests"]

[tool.ruff.lint]
extend-select = [
select = [
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
Expand All @@ -100,7 +100,7 @@ extend-select = [
"SIM", # flake8-simplify
"TID", # flake8-tidy-imports
]
extend-ignore = ["RUF005", "E501"]
ignore = ["E501"]
unfixable = ["F401"]

[tool.ruff.lint.isort]
Expand All @@ -110,9 +110,6 @@ split-on-trailing-comma = false
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"

[tool.ruff.lint.flake8-bugbear]
extend-immutable-calls = ["typer.Argument"]

[tool.pytest.ini_options]
addopts = [
"--strict-config",
Expand Down
6 changes: 3 additions & 3 deletions src/not_again_ai/llm/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
try:
import liquid # noqa
import openai # noqa
import tiktoken # noqa
import liquid
import openai
import tiktoken
except ImportError:
raise ImportError( # noqa
"not_again_ai.llm requires the 'llm' extra to be installed. "
Expand Down
6 changes: 3 additions & 3 deletions src/not_again_ai/statistics/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
try:
import numpy # noqa
import scipy # noqa
import sklearn # noqa
import numpy
import scipy
import sklearn
except ImportError:
raise ImportError( # noqa
"not_again_ai.statistics requires the 'statistics' extra to be installed. "
Expand Down
6 changes: 3 additions & 3 deletions src/not_again_ai/viz/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
try:
import numpy # noqa
import pandas # noqa
import seaborn # noqa
import numpy
import pandas
import seaborn
except ImportError:
raise ImportError( # noqa
"not_again_ai.viz requires the 'viz' extra to be installed. "
Expand Down

0 comments on commit 793eeb0

Please sign in to comment.