Skip to content

Commit

Permalink
Fix Tests/linting
Browse files Browse the repository at this point in the history
  • Loading branch information
kmlefran committed Sep 27, 2024
1 parent 273ffeb commit 4a824ad
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/aiida_aimall/controllers.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
and `SmilesToGaussianWorkChain`.
"""

# pylint:disable=too-many-positional-arguments
from aiida import orm
from aiida.orm import Dict, Int, Str
from aiida.plugins import CalculationFactory, WorkflowFactory
Expand Down
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# pylint: disable=redefined-outer-name,too-many-statements
"""Initialise a text database and profile for pytest."""
# pylint:disable=too-many-positional-arguments
import io
import os

Expand Down
2 changes: 0 additions & 2 deletions tests/controllers/test_gaussiansubmissioncontroller.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def test_unstored_parentgrouplabel_returns_error():
group_label="opt_workchain",
max_concurrent=1,
code_label="test.aimall.aimqb",
wfxgroup="test",
gauss_sp_params={},
wfxname="output.wfx",
)
Expand All @@ -41,7 +40,6 @@ def test_gaussiansubmission_controller(fixture_code):
max_concurrent=1,
code_label=code.label + "@" + code.computer.label,
gauss_sp_params={},
wfxgroup="test",
wfxname="output.wfx",
)
assert con.get_extra_unique_keys() == ("smiles",)
Expand Down
1 change: 1 addition & 0 deletions tests/parsers/test_aimqbbaseparser.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# pylint: disable=redefined-outer-name
"""Tests for the `AimqbParser"""
# pylint:disable=too-many-positional-arguments


import pytest
Expand Down
1 change: 1 addition & 0 deletions tests/parsers/test_aimqbgroupparser.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test aiida-aimall group parser"""
# pylint:disable=too-many-positional-arguments
import os

import pytest
Expand Down
1 change: 1 addition & 0 deletions tests/workchains/test_aimreorworkchain.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for AimReor Workchain"""
# pylint:disable=too-many-positional-arguments
# import os

from aiida.common import LinkType
Expand Down
1 change: 1 addition & 0 deletions tests/workchains/test_qmtoaimworkchain.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for aiida_aimall.workchains.QMToAIMWorkchain"""
# pylint:disable=too-many-positional-arguments
from aiida.common import LinkType
from aiida.orm import Dict, SinglefileData
from plumpy.utils import AttributesFrozendict
Expand Down
1 change: 1 addition & 0 deletions tests/workchains/test_smilestogaussian.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for SmilesToGaussianWorkchain"""
# pylint:disable=too-many-positional-arguments
import os

import cclib
Expand Down
1 change: 1 addition & 0 deletions tests/workchains/test_subparamchain.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for aiida_aimall.workchains.SubstituentParameterWorkchain"""
# pylint:disable=too-many-positional-arguments
import io

import ase.io
Expand Down

0 comments on commit 4a824ad

Please sign in to comment.