Skip to content

Commit

Permalink
Merge branch 'maint16_2'
Browse files Browse the repository at this point in the history
# Conflicts:
#	.pre-commit-config.yaml
  • Loading branch information
tturocy committed Aug 20, 2024
2 parents cd80351 + 20139fd commit cc7c97e
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ repos:
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.3
rev: v0.6.1
hooks:
- id: ruff
- repo: https://github.com/pycqa/flake8
Expand Down
3 changes: 2 additions & 1 deletion tests/test_actions.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import pygambit as gbt
import pytest

import pygambit as gbt

from . import games


Expand Down
3 changes: 2 additions & 1 deletion tests/test_behav.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import typing
from itertools import product

import pygambit as gbt
import pytest

import pygambit as gbt

from . import games

TOL = 1e-13 # tolerance for floating point assertions
Expand Down
3 changes: 2 additions & 1 deletion tests/test_extensive.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import typing

import pygambit as gbt
import pytest

import pygambit as gbt

from . import games


Expand Down
3 changes: 2 additions & 1 deletion tests/test_game.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import numpy as np
import pygambit as gbt
import pytest

import pygambit as gbt

from . import games


Expand Down
3 changes: 2 additions & 1 deletion tests/test_infosets.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import pygambit as gbt
import pytest

import pygambit as gbt

from . import games


Expand Down
3 changes: 2 additions & 1 deletion tests/test_mixed.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import typing
from itertools import product

import pygambit as gbt
import pytest

import pygambit as gbt

from . import games

TOL = 1e-13 # tolerance for floating point assertions
Expand Down
3 changes: 2 additions & 1 deletion tests/test_outcomes.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import pygambit as gbt
import pytest

import pygambit as gbt


@pytest.mark.parametrize(
"game", [gbt.Game.new_table([2, 2]), gbt.Game.new_tree()]
Expand Down
3 changes: 2 additions & 1 deletion tests/test_players.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import pygambit as gbt
import pytest

import pygambit as gbt

from . import games


Expand Down
3 changes: 2 additions & 1 deletion tests/test_strategic.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import pygambit as gbt
import pytest

import pygambit as gbt

from . import games


Expand Down
3 changes: 2 additions & 1 deletion tests/test_stratprofiles.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import pygambit as gbt
import pytest

import pygambit as gbt

from . import games


Expand Down

0 comments on commit cc7c97e

Please sign in to comment.