Skip to content

Commit

Permalink
[all] Fix and/or suppress flake8 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
edopao committed Dec 13, 2023
1 parent eda6c0f commit 608fcaa
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/gt4py/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@


if _sys.version_info >= (3, 10):
from . import next
from . import next # noqa: A004

__all__ += ["next"]
2 changes: 1 addition & 1 deletion src/gt4py/cartesian/gtc/dace/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def __init__(
*args,
**kwargs,
):
super().__init__(name=name, *args, **kwargs)
super().__init__(*args, name=name, **kwargs)

from gt4py.cartesian.gtc.dace.utils import compute_dcir_access_infos

Expand Down
2 changes: 1 addition & 1 deletion src/gt4py/next/ffront/fbuiltins.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import dataclasses
import functools
import inspect
from builtins import bool, float, int, tuple
from builtins import bool, float, int, tuple # noqa: A004
from typing import Any, Callable, Generic, ParamSpec, Tuple, TypeAlias, TypeVar, Union, cast

import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion tests/cartesian_tests/unit_tests/test_gtc/test_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def test_symbolref_validation_for_valid_tree():
SymbolTableRootNode(
nodes=[SymbolChildNode(name="foo"), SymbolRefChildNode(name="foo")],
)
SymbolTableRootNode(
SymbolTableRootNode( # noqa: B018
nodes=[
SymbolChildNode(name="foo"),
SymbolRefChildNode(name="foo"),
Expand Down

0 comments on commit 608fcaa

Please sign in to comment.