-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
46 lines (37 loc) · 942 Bytes
/
tox.ini
File metadata and controls
46 lines (37 loc) · 942 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# tox (https://tox.readthedocs.io/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
# SPDX-License-Identifier: CC0-1.0
# SPDX-FileCopyrightText: 2020-2023 Collabora, Ltd. and the Proclamation contributors
[tox]
envlist = flake8, codespell, py37, py38, py39, py310, py311, py312
skip_missing_envs = true
[testenv]
deps =
pip
pytest
jinja2
commands =
pytest
[testenv:flake8]
skip_install = True
deps =
flake8
commands =
flake8 proclamation/*.py
[testenv:codespell]
skip_install = True
deps =
codespell
commands =
codespell proclamation *.md *.py
[testenv:dev]
usedevelop = True
# We don't have many doctests, but let's run what we have.
[pytest]
addopts = --doctest-modules
# Compat with black
[flake8]
max-line-length = 88
extend-ignore = E203