Skip to content

Commit

Permalink
Fixed linter warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ckunki committed Apr 3, 2024
1 parent bb01b87 commit 058955c
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
.html-documentation
/__pycache__
.lint.json
.lint.txt
5 changes: 5 additions & 0 deletions noxconfig.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
""" nox configuration """

from dataclasses import dataclass
from pathlib import Path
from typing import Iterable
Expand All @@ -7,6 +9,9 @@

@dataclass(frozen=True)
class Config:
"""
Configuration for Nox
"""
root: Path = ROOT_DIR
doc: Path = ROOT_DIR / "doc"
version_file: Path = ROOT_DIR / "version.py"
Expand Down
3 changes: 2 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
""" noxfile """
import nox

# imports all nox task provided by the toolbox
from exasol.toolbox.nox.tasks import *
from exasol.toolbox.nox.tasks import check # pylint: disable=unused-import

# default actions to be run if nothing is explicitly specified with the -s option
nox.options.sessions = ["fix"]
4 changes: 3 additions & 1 deletion test/integration/test_placeholder.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
""" doc Integration tests """

def test_placeholder():
pass
""" doc """
4 changes: 3 additions & 1 deletion test/unit/test_placeholder.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
""" unit tests """

def test_placeholder():
pass
""" doc """

0 comments on commit 058955c

Please sign in to comment.