Skip to content

Commit

Permalink
Updated nox-related files
Browse files Browse the repository at this point in the history
  • Loading branch information
ckunki committed Apr 17, 2024
1 parent 893628c commit 6ef98c1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
5 changes: 0 additions & 5 deletions noxconfig.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
""" nox configuration """

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

@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: 1 addition & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
""" noxfile """
import nox
from nox import Session
from noxconfig import PROJECT_CONFIG

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

# default actions to be run if nothing is explicitly specified with the -s option
nox.options.sessions = ["fix"]
Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ force_grid_wrap = 2
[tool.pylint.master]
fail-under = 7.5
output-format = "colorized,json:.lint.json,text:.lint.txt"
ignore = [
"noxfile.py",
"version.py",
"noxconfig.py",
]

[[tool.mypy.overrides]]
module = [
Expand Down

0 comments on commit 6ef98c1

Please sign in to comment.