Skip to content

Commit

Permalink
Fixed review findings no. 2
Browse files Browse the repository at this point in the history
  • Loading branch information
ckunki committed Oct 17, 2023
1 parent 1b68974 commit 3cbf441
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions noxconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
from typing import Iterable


ROOT_DIR = Path(__file__).parent

@dataclass(frozen=True)
class Config:
root: Path = Path(__file__).parent
doc: Path = Path(__file__).parent / "doc"
version_file: Path = Path(__file__).parent / "version.py"
root: Path = ROOT_DIR
doc: Path = ROOT_DIR / "doc"
version_file: Path = ROOT_DIR / "version.py"
path_filters: Iterable[str] = ("dist", ".eggs", "venv")


Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ fail_under = 15


[tool.black]
line-length = 120
line-length = 88
verbose = false
include = "\\.pyi?$"

Expand All @@ -54,7 +54,7 @@ force_grid_wrap = 2


[tool.pylint.master]
fail-under = 6.2
fail-under = 7.5
output-format = "colorized,json:.lint.json,text:.lint.txt"

[[tool.mypy.overrides]]
Expand Down

0 comments on commit 3cbf441

Please sign in to comment.