Skip to content

Commit

Permalink
Merge branch 'master' into valid_identifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
quaquel authored Sep 10, 2024
2 parents bfccdaf + 59cad47 commit b95f250
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ ci:

repos:
- repo: https://github.com/psf/black
rev: 24.4.2
rev: 24.8.0
hooks:
- id: black-jupyter
- repo: https://github.com/asottile/pyupgrade
rev: v3.15.2
rev: v3.17.0
hooks:
- id: pyupgrade
args: [--py310-plus]
Expand Down
4 changes: 2 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
os: ubuntu-lts-latest
tools:
python: "3"
python: latest

# Build documentation in the docs/ directory with Sphinx
sphinx:
Expand Down
4 changes: 2 additions & 2 deletions ema_workbench/em_framework/outputspace_exploration.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
RandomGenerator,
Dominance,
AbstractGeneticAlgorithm,
default_variator,
AdaptiveTimeContinuation,
GAOperator,
SBX,
Expand All @@ -38,6 +37,7 @@
PCX,
UNDX,
Multimethod,
PlatypusConfig,
)


Expand Down Expand Up @@ -186,7 +186,7 @@ def initialize(self):
self.archive += self.population

if self.variator is None:
self.variator = default_variator(self.problem)
self.variator = PlatypusConfig.default_variator(self.problem)

def iterate(self):
offspring = []
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dependencies = [
"pandas",
"scikit-learn",
"salib>=1.4.6",
"platypus-opt",
"platypus-opt>=1.3.0",
"matplotlib",
"statsmodels",
"seaborn",
Expand Down

0 comments on commit b95f250

Please sign in to comment.