Skip to content

Commit

Permalink
updates to readme.md and setup.cfg for versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
MLDERES committed Aug 31, 2020
1 parent 1cdbbe5 commit 138c46f
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 34 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# phantasyfootballer

[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![license: Apache](https://img.shields.io/github/license/MLDERES/phantasyfootballer)](http://www.apache.org/licenses/LICENSE-2.0.html)
[forks](https://img.shields.io/github/forks/MLDERES/phantasyfootballer)
[stars](https://img.shields.io/github/stars/MLDERES/phantasyfootballer)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
![forks](https://img.shields.io/github/forks/MLDERES/phantasyfootballer)
![stars](https://img.shields.io/github/stars/MLDERES/phantasyfootballer)


## Overview

Expand Down
54 changes: 25 additions & 29 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,49 +1,45 @@
[bumpversion]
current_version = 0.3.2-dev0
commit = False
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+)(?P<build>\d+))?
serialize =
{major}.{minor}.{patch}-{release}{build}
{major}.{minor}.{patch}

[tool:pytest]
addopts=--cov-report term-missing
--cov src/phantasyfootballer -ra
testpaths=src/tests
addopts = --cov-report term-missing
--cov src/phantasyfootballer -ra
testpaths = src/tests

[flake8]
# E501 line too long (81 > 79 characters)
# W503 line break before binary operator
# E203 whitespace before ':'
# E266 too many leading '#' for block
ignore= E501,W503, E203, E266
ignore = E501,W503, E203, E266
exclude =
__init__.py
00-kedro-init.py
__init__.py
00-kedro-init.py

[isort]
multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
use_parentheses=True
line_length=88
multi_line_output = 3
include_trailing_comma = True
force_grid_wrap = 0
use_parentheses = True
line_length = 88

[mypy]
files=src
ignore_missing_imports=true

[bumpversion]
current_version = 0.3.0-dev0
commit = False
tag=False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+)(?P<build>\d+))?
serialize =
{major}.{minor}.{patch}-{release}{build}
{major}.{minor}.{patch}
files = src
ignore_missing_imports = true

[bumpversion:part:release]
optional_value = prod
first_value = dev
values =
dev
prod
dev
prod

[bumpversion:part:build]

[bumpversion:file:src/setup.py]

[bumpversion:file:src/phantasyfootballer/__init__.py]


[bumpversion:file:setup.cfg]
2 changes: 1 addition & 1 deletion src/phantasyfootballer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@
"""phantasyfootballer
"""

__version__ = "0.3.1-dev0"
__version__ = "0.3.2-dev0"
from .common import *
2 changes: 1 addition & 1 deletion src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from setuptools import find_packages, setup

entry_point = "phantasyfootballer = phantasyfootballer.run:run_package"
VERSION = "0.3.1-dev0"
VERSION = "0.3.2-dev0"

# get the dependencies and installs
with open("requirements.txt", "r", encoding="utf-8") as f:
Expand Down

0 comments on commit 138c46f

Please sign in to comment.