Skip to content

Commit

Permalink
add pyup config (fix #101)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmigneault committed Jun 8, 2020
1 parent a5749c9 commit bf6f1bc
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 1 deletion.
65 changes: 65 additions & 0 deletions .pyup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
## Reference
## https://pyup.io/docs/bot/config/

# configure updates globally
# default: all
# allowed: all, insecure, False
update: insecure

# configure dependency pinning globally
# default: True
# allowed: True, False
pin: False # avoid receiving many PRs for each requirement update

# set the default branch
# default: empty, the default branch on GitHub
branch: master

# update schedule
# default: empty
# allowed: "every day", "every week", ..
schedule: "every day"

# search for requirement files
# default: True
# allowed: True, False
search: True

# Specify requirement files by hand, default is empty
# default: empty
# allowed: list
#requirements:
# - requirements/staging.txt:
# # update all dependencies and pin them
# update: all
# pin: True
# - requirements/dev.txt:
# # don't update dependencies, use global 'pin' default
# update: False
# - requirements/prod.txt:
# # update insecure only, pin all
# update: insecure
# pin: True

# add a label to pull requests, default is not set
# requires private repo permissions, even on public repos
# default: empty
label_prs: security # see 'insecure' update type

# assign users to pull requests, default is not set
# requires private repo permissions, even on public repos
# default: empty
assignees:
- fmigneault

# configure the branch prefix the bot is using
# default: pyup-
branch_prefix: pyup-

# set a global prefix for PRs
# default: empty
pr_prefix: "[Requirement]"

# allow to close stale PRs
# default: True
close_prs: True
6 changes: 5 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ For more details, see `Configuration`_ section.
:stub-columns: 1

* - dependencies
- | |py_ver| |requires|
- | |py_ver| |requires| |pyup|
* - build status
- | |travis_latest| |travis_tagged| |readthedocs| |coverage| |codacy|
* - releases
Expand All @@ -50,6 +50,10 @@ For more details, see `Configuration`_ section.
:alt: Requirements Status
:target: https://requires.io/github/crim-ca/weaver/requirements/?branch=master

.. |pyup| image:: https://pyup.io/repos/github/crim-ca/weaver/shield.svg
:alt: Dependencies Status
:target: https://pyup.io/account/repos/github/crim-ca/weaver/

.. |travis_latest| image:: https://img.shields.io/travis/com/crim-ca/weaver/master.svg?label=master
:alt: Travis-CI Build Status (master branch)
:target: https://travis-ci.com/crim-ca/weaver
Expand Down

0 comments on commit bf6f1bc

Please sign in to comment.