From 72f6d0db4d8c2da7cae7da07c21be97deebf5fd6 Mon Sep 17 00:00:00 2001 From: Jacob Plaster Date: Wed, 5 Jun 2019 17:18:57 +0800 Subject: [PATCH 1/2] .github: add PR/issue templates --- .github/ISSUE_TEMPLATE | 13 +++++++++++++ .github/PULL_REQUEST_TEMPLATE | 15 +++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE create mode 100644 .github/PULL_REQUEST_TEMPLATE diff --git a/.github/ISSUE_TEMPLATE b/.github/ISSUE_TEMPLATE new file mode 100644 index 0000000..dc4cbeb --- /dev/null +++ b/.github/ISSUE_TEMPLATE @@ -0,0 +1,13 @@ +#### Issue type +- [ ] bug +- [ ] missing functionality +- [ ] performance +- [ ] feature request + +#### Brief description + +#### Steps to reproduce +- + +##### Additional Notes: +- diff --git a/.github/PULL_REQUEST_TEMPLATE b/.github/PULL_REQUEST_TEMPLATE new file mode 100644 index 0000000..b4cce30 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE @@ -0,0 +1,15 @@ +### Description: +... + +### Breaking changes: +- [ ] + +### New features: +- [ ] + +### Fixes: +- [ ] + +### PR status: +- [ ] Version bumped +- [ ] Change-log updated From 7d0eed9f88c00618d626be3534037dc698153fd0 Mon Sep 17 00:00:00 2001 From: Jacob Plaster Date: Wed, 5 Jun 2019 17:27:39 +0800 Subject: [PATCH 2/2] main: add changelog and versioning --- CHANGELOG | 3 +++ bfxapi/__init__.py | 1 + bfxapi/version.py | 5 +++++ 3 files changed, 9 insertions(+) create mode 100644 CHANGELOG create mode 100644 bfxapi/version.py diff --git a/CHANGELOG b/CHANGELOG new file mode 100644 index 0000000..d7ca43b --- /dev/null +++ b/CHANGELOG @@ -0,0 +1,3 @@ +0.0.1 + +- Added change-log and PR/Issue templates diff --git a/bfxapi/__init__.py b/bfxapi/__init__.py index 1ff271d..04db026 100644 --- a/bfxapi/__init__.py +++ b/bfxapi/__init__.py @@ -2,6 +2,7 @@ This module is used to interact with the bitfinex api """ +from .version import __version__ from .client import Client from .models import (Order, Trade, OrderBook, Subscription, Wallet, Position, FundingLoan, FundingOffer, FundingCredit) diff --git a/bfxapi/version.py b/bfxapi/version.py new file mode 100644 index 0000000..69d6f6b --- /dev/null +++ b/bfxapi/version.py @@ -0,0 +1,5 @@ +""" +This module contains the current version of the bfxapi lib +""" + +__version__ = '0.0.1'