OME tools for managing the git(hub) workflow
Project description
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.
Copyright
2012-2019, The Open Microscopy Environment
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file scc-0.15.1.tar.gz
.
File metadata
- Download URL: scc-0.15.1.tar.gz
- Upload date:
- Size: 45.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d21291a065f6d71e3652baaae0cde1e6f20a1d91760a36c00ef79b68f6a1400 |
|
MD5 | e297e6c7db1a71b40e2ad6d2bac63850 |
|
BLAKE2b-256 | cdc0ef1d88b7c54792a0e0d0c722de47b43636245a08c6065662089427af3efc |
File details
Details for the file scc-0.15.1-py3-none-any.whl
.
File metadata
- Download URL: scc-0.15.1-py3-none-any.whl
- Upload date:
- Size: 45.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef2b95e1e3371a1f159891a9c94bb11053a05978475310fd7b039044e96843f2 |
|
MD5 | 85913116b7aaa41fdc782adf4915f464 |
|
BLAKE2b-256 | fba39be3246a5b35943b2a5d9df3609ce2efdbbf797e20d67cff29c025bbb34f |