Skip to content

Commit

Permalink
Fix CI failures
Browse files Browse the repository at this point in the history
  • Loading branch information
c-bata committed Dec 11, 2023
1 parent f44236c commit b91fb88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
architecture: x64
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools numpy
pip install --progress-bar off -r requirements-dev.txt
python -m pip install --upgrade pip setuptools
pip install --progress-bar off numpy matplotlib scipy mypy flake8 black
- run: flake8 . --show-source --statistics
- run: black --check .
- run: mypy cmaes
Expand Down
2 changes: 1 addition & 1 deletion benchmark/problem_rastrigin.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def create_problem(self, seed: int) -> Problem:

def specification(self) -> problem.ProblemSpec:
params = [
problem.Var(f"x{i+1}", problem.ContinuousRange(-5.12, 5.12))
problem.Var(f"x{i + 1}", problem.ContinuousRange(-5.12, 5.12))
for i in range(self.dim)
]
return problem.ProblemSpec(
Expand Down

0 comments on commit b91fb88

Please sign in to comment.