Skip to content

Commit

Permalink
chore(version): bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
jguerreiro authored and Jguer committed Aug 20, 2021
1 parent 347565b commit 4241ffc
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 37 deletions.
Empty file added .venv/.touch
Empty file.
2 changes: 1 addition & 1 deletion ggshield/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.7.3"
__version__ = "1.8.0"
41 changes: 40 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.black]
target-version = ['py36']
line-length = 88
exclude = 'snap_'
exclude = '/(\.eggs|\.git|\.hg|\.mypy_cache|\.nox|\.tox|\.venv|\.svn|_build|buck-out|build|dist|venv|snapshots|_snap)/'

[tool.pytest.ini_options]
addopts = "--pdbcls=IPython.terminal.debugger:Pdb --durations=10 --durations-min=3.0 --tb=short"
Expand All @@ -10,3 +10,42 @@ testpaths = [
"tests/",
]

[tool.isort]
profile = "black"
lines_after_imports = 2

[tool.coverage.report]
exclude_lines = [
"@abstractmethod",
"if TYPE_CHECKING:",
"pragma: no cover",
"raise NotImplementedError",
"assert False"]
omit = ["tests/*"]
fail_under = 80
show_missing = true

[tool.coverage.run]
source = ["."]
omit = [".venv/*"]

[tool.mypy]
python_version = "3.9"
warn_return_any = true
check_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
follow_imports = "silent"
ignore_missing_imports = true
no_implicit_optional = true
strict_equality = true
strict_optional = true
warn_incomplete_stub = true
warn_redundant_casts = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true

[[tool.mypy.overrides]]
module = ["*.tests.*"]
ignore_errors = true
37 changes: 2 additions & 35 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,41 +1,8 @@
[flake8]
inline-quotes = double
max-line-length = 88
max-line-length = 120
ignore = E203, W503
exclude = **/snapshots/*.py
exclude = **/snapshots/*.py, .venv

[metadata]
description-file = README.md

[isort]
profile = black
lines_after_imports = 2

[coverage:report]
omit = tests/*
fail_under = 80
show_missing = True

[coverage:run]
source = .
omit = tests/*

[mypy]
check_untyped_defs = True
disallow_incomplete_defs = True
disallow_untyped_defs=True
follow_imports = silent
ignore_missing_imports = True
no_implicit_optional=True
python_version=3.8
strict_equality=True
strict_optional=True
warn_incomplete_stub = True
warn_redundant_casts=True
warn_return_any = True
warn_unreachable = True
warn_unused_configs = True
warn_unused_ignores = True

[mypy-tests.*]
ignore_errors = True

0 comments on commit 4241ffc

Please sign in to comment.