Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,19 @@ jobs:
formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2

- name: Setup black linter
run: conda create --quiet --name black black
run: conda create --quiet --name black black pyflakes

- name: Lint python code
- name: Lint python code with black
run: |
export PATH="/usr/share/miniconda/bin:$PATH"
source activate black
black --check spython

- name: Check unused imports with pyflakes
run: |
export PATH="/usr/share/miniconda/bin:$PATH"
source activate black
pyflakes spython/oci spython/image spython/instance spython/main
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ The client here will eventually be released as "spython" (and eventually to
singularity on pypi), and the versions here will coincide with these releases.

## [master](https://github.com/singularityhub/singularity-cli/tree/master)
- Small bugfix for docker writer and adding pyflakes for unused imports (0.0.84)
- Adding support for multistage build parsing (0.0.83)
- Singularity Python does not yet support multistage builds (0.0.82)
- stream command should print to stdout given CalledProcessError (0.0.81)
- USER regular expression should check for USER at start of line (0.0.80)
- add singularity options parameters to send to singularity (0.0.79)
- add support for library:// urls (0.0.78)
Expand Down
3 changes: 1 addition & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ all your interactions with the project members and users.

## Pull Request Process

1. Send PRs to the master branch for merge as a pypi release, or development
if the intention is to add to next pypi release.
1. Send PRs to the master branch.
2. Follow the existing code style precedent. This does not need to be strictly
defined as there are many thousands of lines of examples. Note the lack
of tabs anywhere in the project, parentheses and spacing, documentation
Expand Down
5 changes: 5 additions & 0 deletions docs/api/_sources/changelog.md.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ The client here will eventually be released as "spython" (and eventually to
singularity on pypi), and the versions here will coincide with these releases.

## [master](https://github.com/singularityhub/singularity-cli/tree/master)
- Singularity does not support multistage builds (0.0.82)
- stream command should print to stdout given CalledProcessError (0.0.81)
- USER regular expression should check for USER at start of line (0.0.80)
- add singularity options parameters to send to singularity (0.0.79)
- add support for library:// urls (0.0.78)
- instance stop with timeout argument (0.0.77)
- instance list includes ip address (0.0.76)
- export lines aren't ignored from environment, but replaced (0.0.75)
Expand Down
6 changes: 5 additions & 1 deletion docs/api/assets/basic.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* Sphinx stylesheet -- basic theme.
*
* :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS.
* :copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
Expand Down Expand Up @@ -672,6 +672,10 @@ div.code-block-caption + div > div.highlight > pre {
margin-top: 0;
}

div.doctest > div.highlight span.gp { /* gp: Generic.Prompt */
user-select: none;
}

div.code-block-caption span.caption-number {
padding: 0.1em 0.3em;
font-style: italic;
Expand Down
7 changes: 4 additions & 3 deletions docs/api/assets/doctools.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* Sphinx JavaScript utilities for all documentation.
*
* :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS.
* :copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
Expand Down Expand Up @@ -283,10 +283,11 @@ var Documentation = {
},

initOnKeyListeners: function() {
$(document).keyup(function(event) {
$(document).keydown(function(event) {
var activeElementType = document.activeElement.tagName;
// don't navigate when in search box or textarea
if (activeElementType !== 'TEXTAREA' && activeElementType !== 'INPUT' && activeElementType !== 'SELECT') {
if (activeElementType !== 'TEXTAREA' && activeElementType !== 'INPUT' && activeElementType !== 'SELECT'
&& !event.altKey && !event.ctrlKey && !event.metaKey && !event.shiftKey) {
switch (event.keyCode) {
case 37: // left
var prevHref = $('link[rel="prev"]').prop('href');
Expand Down
2 changes: 2 additions & 0 deletions docs/api/assets/documentation_options.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ var DOCUMENTATION_OPTIONS = {
VERSION: '1',
LANGUAGE: 'None',
COLLAPSE_INDEX: false,
BUILDER: 'html',
FILE_SUFFIX: '.html',
LINK_SUFFIX: '.html',
HAS_SOURCE: true,
SOURCELINK_SUFFIX: '.txt',
NAVIGATION_WITH_KEYS: false
Expand Down
Loading