Skip to content

Commit

Permalink
Merge pull request #117 from PIQuIL/bumpversion
Browse files Browse the repository at this point in the history
Setup bump2version
  • Loading branch information
mergify[bot] authored Aug 5, 2020
2 parents 9f247ff + 5102fac commit ad78a21
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 1.3.0.{build}-{branch}
version: "{build}-{branch}"

pull_requests:
do_not_increment_build_number: true
Expand Down
6 changes: 6 additions & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[bumpversion]
current_version = 1.3.0
commit = true
tag = false

[bumpversion:file:qucumber/__version__.py]
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ jobs:
file_glob: true
on:
repo: PIQuIL/QuCumber
branch: master
tags: true

- name: "GitHub Release - Package Source Distribution"
Expand All @@ -225,6 +226,7 @@ jobs:
secure: ANzomjrVPkzLO7MG9Zekl1Tz/GiO6rJyqZSWlWxF5a8M0+ZBJsFb7Do6kxPNulkEFwEnvjnJpzpY2ryWlhrXnzGZitzWIa5IDLRRHmSQ3GRNPHMIRqf1xle+8/0IwDBuC/eTsOkit7WU1j9lgurCj8snXuTLUVEqf/SecAcLpmLrelRFvz//ZcOopIbwD66RJWT8pYGBH/L3MMIDFj1bIf0UIpXdBXgeTJhxW054+BhdFPGI66IvWU/kOlOcE606wqRqI9bdvop34OewJFnOQ9Elii7LKUPNXoWmq1PrvXCIc1c50BGcLoWFM2CDiOiirzhvvUymtT/Na2BUqPpmnkbi+iRMyaIa6FOa8UIP4TCGuFd4JJlYxaq84bAmikI+1LOOGhfJ0+LACaJaqEM3WRL8VfP/xjWF9GzOuE5W8/fQQUntZaHkqQi4VV2wzULSkc5CpbrR2iX71dROWO4ETzz1wGXmO0dTVfCWMbqk7dT8OPft+tHsWWJqqeCEL3wj1uYEIYpCwLo9oSyVXwrhzRW0dysZfTCx/XfDaws3eFA6iMg6dUoBt12kwGZ5vCbgjBwPOmQrRMUEmYoyZz8n20HKojoxzUpwueFN/nbLv76arJbN8bLeb/GyE6r1Rw0DEzs8f0fBtv5agUnIpMh6EPOFYN4rwHMxt52HU7BB/Kg=
on:
repo: PIQuIL/QuCumber
branch: master
tags: true


Expand Down
10 changes: 5 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ tox
tox -- -m "not slow" # can pass pytest options after a double dash: --
```

`tox` is currently set up to build and test qucumber against several
`tox` is currently set up to build and test qucumber against several
different versions of `PyTorch` (including the nightly release) on
both Python 3.6 and 3.7. Also, `tox` is setup to automatically
both Python 3.6 and 3.7. Also, `tox` is setup to automatically
generate coverage reports when run, so you don't have to pass `--cov=qucumber`.

### Building Documentation
Expand Down Expand Up @@ -191,7 +191,7 @@ but the above command will provide you with the changes that it would have made.
However, there is an easier way, you can use the
[blackcellmagic](https://github.com/csurfer/blackcellmagic) Jupyter extension
to format notebook cells. Note that these checks are included in the `pre-commit`
config and will therefore be done automatically when you try to commit changes
config and will therefore be done automatically when you try to commit changes
to notebooks.

### License Headers
Expand All @@ -207,12 +207,12 @@ contain the license header:
inv license-check
```

Note that this check is included in the `pre-commit` config and will therefore
Note that this check is included in the `pre-commit` config and will therefore
be done automatically when you try to commit changes to notebooks.

### Running all style checks

If you want to run all style checks together (license checking, and notebook
If you want to run all style checks together (license checking, and notebook
and code linting) you can run the following:

```bash
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# ![QuCumber](https://raw.githubusercontent.com/PIQuIL/QuCumber/master/docs/_static/img/QuCumber_full.png)
[![PyPI version](https://badge.fury.io/py/qucumber.svg)](https://badge.fury.io/py/qucumber)
[![PyPI Version](https://img.shields.io/pypi/v/qucumber)](https://pypi.org/project/qucumber)
[![Python Versions](https://img.shields.io/pypi/pyversions/qucumber)](https://pypi.org/project/qucumber)
[![Documentation Status](https://readthedocs.org/projects/qucumber/badge/?version=stable)](https://qucumber.readthedocs.io/en/stable/?badge=stable)
[![Build Status (Travis)](https://travis-ci.com/PIQuIL/QuCumber.svg?branch=master)](https://travis-ci.com/PIQuIL/QuCumber)
[![Build Status (AppVeyor)](https://ci.appveyor.com/api/projects/status/lqdrc8qp94w4b9kf/branch/master?svg=true)](https://ci.appveyor.com/project/emerali/qucumber/branch/master)
[![codecov](https://codecov.io/gh/PIQuIL/QuCumber/branch/master/graph/badge.svg)](https://codecov.io/gh/PIQuIL/QuCumber)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)
[![arXiv](https://img.shields.io/badge/arxiv-1812.09329-blue.svg)](https://arxiv.org/abs/1812.09329)
[![arXiv](https://img.shields.io/badge/arXiv-1812.09329-B31B1B.svg)](https://arxiv.org/abs/1812.09329)
[![scipost](https://img.shields.io/badge/SciPost-7.1.009-blue.svg)](https://scipost.org/SciPostPhys.7.1.009)

## A Quantum Calculator Used for Many-body Eigenstate Reconstruction
Expand All @@ -30,7 +31,7 @@ size of the visible layer corresponds to the input data, i.e. the number of
qubits. The size of the hidden layer is a hyperparameter, varied to systematically control
representation error.

Currently, quantum state reconstruction/tomography can be performed on both pure and mixed states.
Currently, quantum state reconstruction/tomography can be performed on both pure and mixed states.
Pure state reconstruction can be further broken down into positive or complex wavefunction reconstruction.
In the case of a positive wavefunction, data is only required in one basis. For complex wavefunctions as
well as mixed states, measurement data in additional bases will be required to train the state.
Expand Down
4 changes: 1 addition & 3 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
"packageRules": [
{
"updateTypes": ["minor", "patch", "pin", "digest"],
"automerge": true,
"automergeType": "pr-comment",
"automergeComment": "bors: r+"
"labels": ["merge-on-success"]
}
]
}
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,11 @@

appveyor_requires = build_requires + test_requires

dev_requires = travis_requires + doc_requires + ["pre_commit>=1.10.5", "nbval>=0.9.1"]
dev_requires = (
travis_requires
+ doc_requires
+ ["pre_commit>=1.10.5", "nbval>=0.9.1", "bump2version>=1.0.0"]
)

extras_require = {
"dev": dev_requires,
Expand All @@ -85,6 +89,7 @@
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: Implementation :: CPython",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
Expand Down

0 comments on commit ad78a21

Please sign in to comment.