Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[repo-helper] Configuration Update #3

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
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
14 changes: 14 additions & 0 deletions .github/workflows/cleanup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# This file is managed by 'repo_helper'. Don't edit it directly.
---
name: Artefact Cleaner
on:
schedule:
- cron: 0 9 1 * *
jobs:
Clean:
runs-on: ubuntu-latest
steps:
- name: cleanup
uses: glassechidna/artifact-cleaner@v2
with:
minimumAge: 1000000.0
2 changes: 1 addition & 1 deletion .github/workflows/python_ci_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
shopt -s globstar
python -m coverage combine coverage/**/.coverage

- name: "Upload Combined Coverage Aretfact"
- name: "Upload Combined Coverage Artefact"
uses: actions/upload-artifact@v2
with:
name: "combined-coverage"
Expand Down
16 changes: 8 additions & 8 deletions .isort.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,20 @@ default_section = THIRDPARTY
known_third_party =
astroid
coverage
coverage-pyver-pragma
domdf-python-tools
coverage_pyver_pragma
domdf_python_tools
github
ipython
isort
nbconvert
pre-commit-hooks
pre_commit_hooks
pylint
pytest
pytest-cov
pytest-randomly
pytest-rerunfailures
pytest-timeout
pytest_cov
pytest_randomly
pytest_rerunfailures
pytest_timeout
requests
yapf-isort
yapf_isort
known_first_party = notebook2script
remove_redundant_aliases = True
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ repos:
- id: forbid-crlf

- repo: https://github.com/domdfcoding/yapf-isort
rev: v0.5.2
rev: v0.5.4
hooks:
- id: yapf-isort
exclude: ^(doc-source/conf|__pkginfo__|make_conda_recipe|setup)\.py$

- repo: https://github.com/domdfcoding/dep_checker
rev: v0.3.1
rev: v0.4.1
hooks:
- id: dep_checker
args:
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ notebook2script


.. |travis| image:: https://github.com/domdfcoding/notebook2script/workflows/Linux%20Tests/badge.svg
:target: https://github.com/domdfcoding/notebook2script/actions?query=workflow%3A%Linux+Tests%22
:target: https://github.com/domdfcoding/notebook2script/actions?query=workflow%3A%22Linux+Tests%22
:alt: Linux Test Status

.. |actions_windows| image:: https://github.com/domdfcoding/notebook2script/workflows/Windows%20Tests/badge.svg
Expand Down
2 changes: 0 additions & 2 deletions repo_helper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,3 @@ keywords:
manifest_additional:
- include notebook2script/isort.cfg
- include notebook2script/style.yapf

travis_pypi_secure: "d7OIxYIADEiUiezCXoI1zvQaVbjO0yzukfrxgGyA2cc4QjUQtGZMg3ftDpoKrzo+KxP4v72qcfRUexlGN6Snfgrbj1SmUvpzkXFSCl+xFnUqeCcg3jgq9oCnqyQP+NnWUPTth3DY6TkRmTyRq2I5FLJE6xBFgz0b8Cp1NpG7pXybpal2rL8AInnGnxZikiLplgarOJj8iOmFCkixVUdiM0usfW49HeLZBH19+3HgzjtMhbK9auhIYSi96UTd5JIYuODMSTPolprhLOmTDFWaKKJA4ECAPw1U4MB5N9aIoIyYPSN/GxGzXKJar5/dw5t3yyJf8CcygJE3SQnoibTEyGmSFdx/rhBKq+d7+X34ai9yRFKWlHeW4H5rF3I8bT2kqY3+0tKfD/ti7U/kzK8vVLpGUNrwR/vPA06rycGVMEzaE/lp0POzkb6fAKj72GjHBIHo2oqPvwSfUwTc45OeheavcEwQZWB7ZXnu3fq48PYzi+AP+1WRjmalniP1y4QhyboR78W8QdfilexSFOq8vgeNlZKJybN9yx4NWTwVoUAsn5mBshoN30wVsPObUn1Wt2xAlHEiSmV0tIYo6S5DjdUnQ85mz0MZvEfCQX0kWrJGekuBC0QhWuaSsVA+ocH6+EK0UNmy80G377G4QMsbOgFmQC0Fz9laIJSpm5xdok8="
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ packages = find:

[options.packages.find]
exclude =
doc-source
tests
tests.*
doc-source

[mypy]
python_version = 3.6
Expand Down
15 changes: 7 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# You may add new sections, but any changes made to the following sections will be lost:
# * tox
# * envlists
# * travis
# * gh-actions
# * testenv
# * testenv:docs
Expand All @@ -28,13 +27,6 @@ test = py36, py37, py38, py39
qa = mypy, lint
cov = py36, coverage

[travis]
python =
3.6: py36, build, mypy
3.7: py37, build
3.8: py38, build
3.9: py39, build

[gh-actions]
python =
3.6: py36, build, mypy
Expand Down Expand Up @@ -157,5 +149,12 @@ package = notebook2script
addopts = --color yes --durations 25
timeout = 300

[travis]
python =
3.6: py36, build, mypy
3.7: py37, build
3.8: py38, build
3.9: py39, build

[dep_checker]
allowed_unused = ipython