Skip to content

Commit

Permalink
Housekeeping (#233)
Browse files Browse the repository at this point in the history
- Moved all the `arlunio.lib.X` modules to `arlunio.X`
- Add the ability to specify the width of an `arlunio-image` in the docs
- Drop the resolution on a number of examples in the docs
  • Loading branch information
alcarney committed Jun 12, 2020
1 parent a53fc3b commit fe423bb
Show file tree
Hide file tree
Showing 61 changed files with 1,046 additions and 935 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/python-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,24 @@ jobs:
# <lint-job-steps>
- uses: actions/checkout@v1

- name: Setup Python 3.7
- name: Setup Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.7
python-version: 3.8

- name: Setup Environment
run: |
python --version
python -m pip install --upgrade pip
python -m pip install --upgrade tox
python -m pip install --upgrade pip wheel
python -m pip install -e .[dev]
- name: Tox
shell: bash
- name: Lint
run: |
tox -e lint
pre-commit run --all-files
# </lint-job-steps>
# <lint-job-onerror>
- name: Show Fixes
run:
git diff
if: ${{ failure() }}
# </lint-job-onerror>
9 changes: 3 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,10 @@ repos:
- id: flake8
exclude: 'solutions'

- repo: https://github.com/pre-commit/mirrors-isort
rev: master
- repo: https://github.com/asottile/reorder_python_imports
rev: v2.3.0
hooks:
- id: isort
exclude: 'solutions'
additional_dependencies:
- 'toml'
- id: reorder-python-imports

- repo: https://github.com/python/black
rev: master
Expand Down

0 comments on commit fe423bb

Please sign in to comment.