Skip to content
Snippets Groups Projects
Unverified Commit a34fa0dc authored by Oleksandr's avatar Oleksandr Committed by GitHub
Browse files

Made isort for CI check only, shields (#124)

* Made isort for CI check only

* Added badges
parent 668f65b7
No related branches found
No related tags found
No related merge requests found
...@@ -15,15 +15,18 @@ jobs: ...@@ -15,15 +15,18 @@ jobs:
- run: - run:
name: setup name: setup
command: | command: |
sudo pip install black isort sudo pip install black isort numpy
sudo pip install -r requirements.txt --progress-bar off
- run: - run:
name: run black name: run black
command: | command: |
black . --line-length 79 --check --diff black . --line-length 79 setup.py --diff
black . --line-length 79 setup.py --check
- run: - run:
name: run isort name: run isort
command: | command: |
isort . -rc --multi-line 3 --trailing-comma --force-grid-wrap 0 --line-width 79 --combine-as isort . -rc --multi-line 3 --trailing-comma --force-grid-wrap 0 --line-width 79 --combine-as -o torch -o pytest -o torchvision -o matplotlib --diff
isort . -rc --multi-line 3 --trailing-comma --force-grid-wrap 0 --line-width 79 --combine-as -o torch -o pytest -o torchvision -o matplotlib --check-only
install_and_test_ubuntu: install_and_test_ubuntu:
<<: *gpu <<: *gpu
......
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/facebookresearch/habitat-api/blob/master/LICENSE)
[![CircleCI](https://circleci.com/gh/facebookresearch/habitat-api.svg?style=shield)](https://circleci.com/gh/facebookresearch/habitat-api)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/facebookresearch/habitat-api/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22)
Habitat-API Habitat-API
============================== ==============================
......
...@@ -32,11 +32,10 @@ ...@@ -32,11 +32,10 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones. # ones.
import sphinx_rtd_theme
import recommonmark import recommonmark
import sphinx_rtd_theme
from recommonmark.transform import AutoStructify from recommonmark.transform import AutoStructify
extensions = [ extensions = [
"sphinx.ext.autodoc", "sphinx.ext.autodoc",
"sphinx.ext.doctest", "sphinx.ext.doctest",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment