Skip to content

Commit

Permalink
Import Self from typing_extentions
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Bonkowski committed Aug 27, 2023
1 parent e522bac commit 8cd2242
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ exclude: ^(examples)

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.285
rev: v0.0.286
hooks:
- id: ruff
args: [--fix, --line-length, "100", --ignore=F841]
Expand Down
3 changes: 2 additions & 1 deletion agility/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@
import random
import sys
import warnings
from typing import TYPE_CHECKING, List, Literal, Optional, Self, Union
from typing import TYPE_CHECKING, List, Literal, Optional, Union

import numpy as np
import pandas as pd
from typing_extensions import Self

from agility.minimiser import mimimise_lmp

Expand Down

0 comments on commit 8cd2242

Please sign in to comment.