Skip to content

Commit

Permalink
refactor: value settings version (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
luismayta committed Aug 24, 2020
1 parent 839999c commit 73be987
Showing 1 changed file with 19 additions and 12 deletions.
31 changes: 19 additions & 12 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,18 @@
# https://docs.python.org/3/distutils/configfile.html

[bumpversion]
files = README.rst
files = README.rst package.json
commit = False
tag = False
current_version = 0.2.0

[bumpversion:file:setup.cfg]
search = version='{current_version}'
replace = version='{new_version}'
search = {current_version}
replace = {new_version}

[bumpversion:file:package.json]
search = {current_version}
replace = {new_version}

[metadata]
description-file = README.rst
Expand Down Expand Up @@ -49,8 +53,8 @@ atomic=true
known_standard_library=types
combine_as_imports = true
include_trailing_comma = true
known_first_party=zsh-pyenv
known_third_party=tests
known_first_party = ./
known_third_party = tests
not_skip = __init__.py
sections = FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER

Expand All @@ -62,15 +66,18 @@ test=pytest

[tool:pytest]
norecursedirs = "build" "docs" "docs[\/]_build" ".egg"
addopts =
--cov zsh-pyenv
addopts =
-s -v
--cov zsh-pyenv
--cov-report html
--no-cov-on-fail
--capture=no
--ignore setup.py
--ignore test_envs.py
--ignore docs/
--ignore .eggs/
--ignore .pytest_cache/
--ignore .mypy_cache
--ignore docs
--ignore .egg
-s -v
--ignore .eggs
--ignore .mypy_cache
--ignore provision
--ignore node_modules
--doctest-modules

0 comments on commit 73be987

Please sign in to comment.