Skip to content

Commit

Permalink
Updating config
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Jul 20, 2020
1 parent 6c0f41d commit 3a33f5a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ repos:
rev: v0.30.0
hooks:
- id: yapf
exclude: (doc-source/conf|__pkginfo__|make_conda_recipe|setup)\.py$
args: ["-i", "--exclude repo_helper/templates/*"]
exclude: ^(doc-source/conf|__pkginfo__|make_conda_recipe|setup|repo_helper/templates/.*)\.(_)?py$
args: ["-i"]

- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.7
Expand Down
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ cache: pip
python:
- '3.7'
- '3.8'
- '3.9-dev'

install:

Expand Down
4 changes: 1 addition & 3 deletions repo_helper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ python_deploy_version: 3.7
python_versions:
- '3.7'
- '3.8'
- '3.9-dev'

# travis secure password for PyPI
#travis_pypi_secure:
Expand All @@ -50,9 +51,6 @@ extra_sphinx_extensions:
intersphinx_mapping:
- "'jinja2': ('https://jinja.palletsprojects.com/en/2.11.x/', None)"

yapf_exclude:
- "**/templates/"

preserve_custom_theme: true

imgbot_ignore:
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ classifiers =
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: Implementation :: CPython
Topic :: Utilities

Expand Down
6 changes: 4 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This file is managed by 'repo_helper'. Don't edit it directly.

[tox]
envlist = py37, py38, mypy, build
envlist = py37, py38, py39-dev, mypy, build
skip_missing_interpreters = true
requires = pip >= 19.0.0

Expand All @@ -10,12 +10,14 @@ requires = pip >= 19.0.0
python =
3.7: py37, build, mypy
3.8: py38, build
3.9-dev: py39-dev, build


[gh-actions]
python =
3.7: py37, build
3.8: py38, build
3.9-dev: py39-dev, build


[testenv]
Expand Down Expand Up @@ -82,7 +84,7 @@ changedir = {toxinidir}
skip_install = true
ignore_errors = true
deps = yapf
commands = yapf -i --recursive repo_helper tests --exclude "**/templates/"
commands = yapf -i --recursive repo_helper tests


[testenv:isort]
Expand Down

0 comments on commit 3a33f5a

Please sign in to comment.