
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
.. image:: https://github.com/ome/scc/workflows/Tox/badge.svg :target: https://github.com/ome/scc/actions
.. image:: https://badge.fury.io/py/scc.svg :target: https://badge.fury.io/py/scc
The scc command provides tools for simplifying the Git(Hub) workflow.
Setup and usage instructions can be found on the OME-contributing
_ pages.
Direct dependencies of scc are:
PyGithub
_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
The list of available commands can be listed with::
$ scc -h
For each subcommand, additional help can be queried, e.g.::
$ scc merge -h
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 .
.
.. _PEP 8: http://www.python.org/dev/peps/pep-0008/
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
scc is released under the GPL.
2012-2019, The Open Microscopy Environment
.. _PyGithub: https://github.com/PyGithub/PyGithub .. _pep8: https://pypi.python.org/pypi/pep8 .. _flake8: https://pypi.python.org/pypi/flake8 .. _snoopys-sandbox: https://github.com/ome/snoopys-sandbox .. _snoopys-sandbox-2: https://github.com/ome/snoopys-sandbox-2 .. _Travis: https://travis-ci.org/ome/scc .. _OME-contributing: https://ome-contributing.readthedocs.io/en/latest/scc.html
FAQs
OME tools for managing the git(hub) workflow
We found that scc demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.