Skip to main content

OME tools for managing the git(hub) workflow

Project description

https://github.com/ome/scc/workflows/Tox/badge.svg https://badge.fury.io/py/scc.svg

SCC

Introduction

The scc command provides tools for simplifying the Git(Hub) workflow.

Dependencies

Direct dependencies of scc are:

Installation

To install scc, run:

$ python setup.py install

or using pip, run:

$ pip install scc

To upgrade your pip installation, run:

$ pip install -U scc

Usage

The list of available commands can be listed with:

$ scc -h

For each subcommand, additional help can be queried, e.g.:

$ scc merge -h

Contributing

PyGithub follows PEP 8, the Style Guide for Python Code. Please check your code with pep8 or flake8, the Python style guide checkers, by running flake8 -v . or pep8 -v ..

Running tests

The tests are located under the test directory. To run all the tests, use the test target of setup.py:

python setup.py test

Unit tests

Unit tests are stored under the test/unit folder and can be run by calling:

python setup.py test -t test/unit

Unit tests are also run by the Travis build on every Pull Request opened against the main repository.

Integration tests

Integration tests are stored under test/integration. Many integration tests use snoopys-sandbox and snoopys-sandbox-2 as sandbox repositories to test the scc commands.

Running the integration test suite requires:

  • a GitHub account

  • a token-based GitHub connection, i.e. a github.token stored under the local Git configuration file (a global token is ignored):

    $ git config github.token xxxx
  • the user authenticated by the token defined above needs to own forks of snoopys-sandbox and snoopys-sandbox-2

Once this is set up, the integration tests can be run by calling:

python setupy.py test -s test/integration

License

scc is released under the GPL.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scc-0.17.1.tar.gz (47.3 kB view details)

Uploaded Source

Built Distribution

scc-0.17.1-py3-none-any.whl (47.8 kB view details)

Uploaded Python 3

File details

Details for the file scc-0.17.1.tar.gz.

File metadata

  • Download URL: scc-0.17.1.tar.gz
  • Upload date:
  • Size: 47.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for scc-0.17.1.tar.gz
Algorithm Hash digest
SHA256 a483a85ace8184e0003f6e1c3a096e3eb0a5e1b4b7a94b94d98dc9e151486d6b
MD5 f563ab8a8ea7c292b1a2c42c56dbd265
BLAKE2b-256 3fa3894844e55e9d207a06c219d28c13d7f22851936db7ed6a1869ac8e7138a3

See more details on using hashes here.

File details

Details for the file scc-0.17.1-py3-none-any.whl.

File metadata

  • Download URL: scc-0.17.1-py3-none-any.whl
  • Upload date:
  • Size: 47.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for scc-0.17.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3ccdee8aae675f0dbad570744d02a3bb7d343fc0ebd6c08631d0cb5876805395
MD5 58aef3aeaaa1247ccb9edca38c8976db
BLAKE2b-256 9b3697ce384fed5836d90933ed53e6062a3211d8fe5d6abd6a8734ba87de8653

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page