Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and unkcpz committed Jul 10, 2023
1 parent 31be510 commit 12b59cc
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ You can specify target stacks to build with `--target`, example: `doit build --t
### Trigger a build on ghcr.io and dockerhub

Only the PR open to the organization repository will trigger a build on ghcr.io.
Push to dockerhub is triggered when making a release on github.
Push to dockerhub is triggered when making a release on github.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pg_ctl -D /home/aiida/.postgresql stop
pg_ctl -D /home/aiida/.postgresql stop
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0
0
Original file line number Diff line number Diff line change
@@ -1 +1 @@
oneshot
oneshot
3 changes: 2 additions & 1 deletion .docker/dodo.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ def generate_version_override(version, registry, targets, architecture, organiza
ORGANIZATION=organization,
PLATFORMS=platforms,
)
), encoding='utf-8',
),
encoding='utf-8',
)

return {
Expand Down
6 changes: 3 additions & 3 deletions .docker/tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# pylint: disable=missing-module-docstring, redefined-outer-name
# pylint: disable=missing-docstring, redefined-outer-name
import json
from pathlib import Path

Expand All @@ -12,7 +12,7 @@ def variant(request):


@pytest.fixture(scope='session')
def docker_compose_file(pytestconfig, variant): # pylint: unused-argument
def docker_compose_file(pytestconfig, variant): # pylint: disable=unused-argument
return f'docker-compose.{variant}.yml'


Expand All @@ -34,7 +34,7 @@ def container_user():


@pytest.fixture
def aiida_exec(docker_compose):
def aiida_exec(docker_compose):

def execute(command, user=None, **kwargs):
if user:
Expand Down
1 change: 1 addition & 0 deletions .docker/tests/test_aiida.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
# pylint: disable=missing-docstring
import json
import time

Expand Down

0 comments on commit 12b59cc

Please sign in to comment.