mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2026-03-13 07:49:55 +08:00
Setup bumpversion
This commit is contained in:
9
Makefile
9
Makefile
@@ -17,3 +17,12 @@ docs-serve:
|
||||
|
||||
docs-publish:
|
||||
$(PIPENV_RUN) mkdocs gh-deploy
|
||||
|
||||
bumpversion-major:
|
||||
$(PIPENV_RUN) bumpversion major
|
||||
|
||||
bumpversion-minor:
|
||||
$(PIPENV_RUN) bumpversion minor
|
||||
|
||||
bumpversion-patch:
|
||||
$(PIPENV_RUN) bumpversion patch
|
||||
|
||||
1
Pipfile
1
Pipfile
@@ -23,6 +23,7 @@ flit = "*"
|
||||
markdown-include = "*"
|
||||
pygments = "*"
|
||||
pymdown-extensions = "*"
|
||||
bumpversion = "*"
|
||||
|
||||
[packages]
|
||||
fastapi = "==0.42.0"
|
||||
|
||||
10
Pipfile.lock
generated
10
Pipfile.lock
generated
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"_meta": {
|
||||
"hash": {
|
||||
"sha256": "1985abdc79db7e7cbe29782026b32ae0099107ed8ac4ec22687848f14c04a512"
|
||||
"sha256": "8a73a905540f241084c5015721cc190f76864c21bcc0568441ee28baca4edc9a"
|
||||
},
|
||||
"pipfile-spec": 6,
|
||||
"requires": {
|
||||
@@ -218,6 +218,14 @@
|
||||
"index": "pypi",
|
||||
"version": "==19.3b0"
|
||||
},
|
||||
"bumpversion": {
|
||||
"hashes": [
|
||||
"sha256:6744c873dd7aafc24453d8b6a1a0d6d109faf63cd0cd19cb78fd46e74932c77e",
|
||||
"sha256:6753d9ff3552013e2130f7bc03c1007e24473b4835952679653fb132367bdd57"
|
||||
],
|
||||
"index": "pypi",
|
||||
"version": "==0.5.3"
|
||||
},
|
||||
"certifi": {
|
||||
"hashes": [
|
||||
"sha256:e4f3620cfea4f83eedc95b24abd9cd56f3c4b146dd0177e83a21b4eb49e21e50",
|
||||
|
||||
12
setup.cfg
12
setup.cfg
@@ -1,14 +1,20 @@
|
||||
[bumpversion]
|
||||
current_version = 0.0.2
|
||||
commit = True
|
||||
tag = True
|
||||
|
||||
[bumpversion:file:fastapi_users/__init__.py]
|
||||
search = __version__ = "{current_version}"
|
||||
replace = __version__ = "{new_version}"
|
||||
|
||||
[flake8]
|
||||
exclude = docs
|
||||
# Match line length of Black
|
||||
max-line-length = 88
|
||||
docstring-convention = numpy
|
||||
# Disable D1* rules which force to have docstring everywhere
|
||||
ignore = D1
|
||||
|
||||
[isort]
|
||||
atomic = true
|
||||
# Match line length of Black
|
||||
line_length = 88
|
||||
multi_line_output = 5
|
||||
known_standard_library = types
|
||||
|
||||
Reference in New Issue
Block a user