Skip to content

Commit

Permalink
Merge pull request #21 from benber86/version
Browse files Browse the repository at this point in the history
Versioning
  • Loading branch information
benber86 authored Nov 12, 2022
2 parents 88cef5f + d7f6d4b commit a6af558
Show file tree
Hide file tree
Showing 5 changed files with 75 additions and 28 deletions.
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ lark = ">=1.0.0"
pytest = ">=7.0.0"
pytest-cov = ">=3.0.0"
coverage = ">=6.5.0"
bump2version = ">=1.0.0"

[dev-packages]

Expand Down
31 changes: 19 additions & 12 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

67 changes: 52 additions & 15 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,38 +1,75 @@
[options]
package_dir =
= src
= src
packages = find:
python_requires = >= 3.8
install_requires =
click>=8.0.0
pathspec>=0.9.0
lark>=1.0.0
click>=8.0.0
pathspec>=0.9.0
lark>=1.0.0
py_modules = mamushi

[options.entry_points]
console_scripts =
mamushi=mamushi:main
mamushi=mamushi:main

[options.extras_require]
dev =
black>=22.6.0
mypy_extensions==0.4.3
mypy>=0.900
flake8==5.0.4
pylint==2.14.5
pytest>=7.0.0
pytest-cov>=3.0.0
coverage>=6.0.0
black>=22.6.0
mypy_extensions==0.4.3
mypy>=0.900
flake8==5.0.4
pylint==2.14.5
pytest>=7.0.0
pytest-cov>=3.0.0
coverage>=6.0.0
bump2version>=1.0.0

[options.packages.find]
where = src
exclude =
tests
tests

[metadata]
name = mamushi
description = Vyper formatter
license = { text = "MIT" }
long_description = file: README.md
long_description_content_type = text/markdown
version = 0.0.1
version = attr: mamushi.__version__.__version__
url = https://github.com/benber86/mamushi
project_urls =
Source = https://github.com/benber86/mamushi
Tracker = https://github.com/benber86/mamushi/issues
classifiers =
Development Status :: 4 - Beta
Environment :: Console
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Natural Language :: English
Operating System :: OS Independent
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Topic :: Software Development :: Quality Assurance

[bumpversion]
current_version = 0.0.1-a0
commit = False
tag = True
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}

[bumpversion:part:release]
optional_value = release
values =
a
b
release

[bumpversion:file:./src/__version__.py]

[bumpversion:part:build]
3 changes: 2 additions & 1 deletion src/mamushi.py → src/mamushi/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from .__version__ import __version__
from datetime import datetime
import io
import sys
Expand All @@ -6,7 +7,7 @@
from parsing.parser import Parser
from utils.files import gen_vyper_files_in_dir
import traceback
from typing import List, Sized
from typing import List
from pathlib import Path
import click
from utils.output import out, diff, color_diff
Expand Down
1 change: 1 addition & 0 deletions src/mamushi/__version__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "0.0.1-a0"

0 comments on commit a6af558

Please sign in to comment.