Skip to content

Commit

Permalink
fix mypy config
Browse files Browse the repository at this point in the history
  • Loading branch information
mergemaven11 committed May 21, 2024
1 parent 5003264 commit 352bc31
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,3 @@ repos:
rev: v1.10.0
hooks:
- id: mypy

- repo: local
hooks:
- id: pylint
name: pylint
entry: poetry run pylint --disable=C0103
language: python
files: \.py$
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ pre-commit = "^3.7.1"
[tool.pylint]
disable = ["C0114", "C0115", "C0116"] # Disable missing module, class, and function docstrings

[tool.mypy]
mypy_path = ["./chronicle_cli"]
explicit_package_bases = true
python_version = "3.12"
plugins = []


[tool.black]
line-length = 88
target-version = ['py38', 'py39', 'py311']
Expand Down

0 comments on commit 352bc31

Please sign in to comment.