Ensure blast stays off

pull/380/head
Hynek Schlawack 8 months ago
parent fcf1745113
commit 174636035c
  1. 7
      .pre-commit-config.yaml
  2. 1
      MANIFEST.in
  3. 8
      tox.ini

@ -0,0 +1,7 @@
---
repos:
- repo: https://github.com/asottile/pyupgrade
rev: v2.31.1
hooks:
- id: pyupgrade
args: [--py37-plus]

@ -6,6 +6,7 @@ include pyproject.toml
include tox.ini
include tox_build.sh
include tox_check-release.sh
include *.yaml
recursive-include src *.rst
exclude bin

@ -1,5 +1,5 @@
[tox]
envlist = cov-erase, flake8, {pypy37,pypy38,py37,py38,py39,py310}-tests, flake8, check-manifest, check-newsfragment, cov-report
envlist = cov-erase, flake8, pre-commit, {pypy37,pypy38,py37,py38,py39,py310}-tests, flake8, check-manifest, check-newsfragment, cov-report
isolated_build=true
skip_missing_envs = true
@ -10,6 +10,12 @@ deps =
commands =
flake8 src/towncrier/
[testenv:pre-commit]
skip_install = True
deps = pre-commit
commands =
pre-commit run --all-files --verbose
[testenv:check-newsfragment]
commands =
python -m towncrier.check

Loading…
Cancel
Save