summaryrefslogtreecommitdiff
path: root/tox.ini
Commit message (Collapse)AuthorAgeFilesLines
* Allow the PSFL in non-GPL licenses.Julian Berman2023-03-201-1/+1
|
* flake8 -> ruff, a mostly painless affair.Julian Berman2023-03-151-9/+2
|
* Avoid whatever nonsense pkg_resources error.Julian Berman2023-03-061-2/+2
| | | | Just use virtue in CI.
* Replace the other usages of pyrsistent with rpds.Julian Berman2023-03-061-1/+0
|
* Drop support for 3.7.Julian Berman2023-02-211-1/+1
| | | | | | | Referencing happens to not support it at the minute. It's close to EOL, so rather than adding it, I suspect it's droppable.
* Style, and don't interfere with a test.Julian Berman2023-02-211-4/+3
|
* Add a microbenchmark for validator creation.Julian Berman2023-02-211-6/+10
|
* Preemptively tweak an isort setting.Julian Berman2022-12-141-1/+1
| | | | And bump the minimum tox version.
* tox.ini quoting seems to have changed too.Julian Berman2022-12-111-2/+3
|
* More tox4 setting updating.Julian Berman2022-12-111-1/+1
|
* Handle tox 4 (passenv doesn't take spaces now).Julian Berman2022-12-111-1/+1
|
* Replace codecov with coverage (7)'s native markdown support.Julian Berman2022-12-051-11/+10
|
* pypa/setuptools#3276 is merged, remove some testing warning config.Julian Berman2022-12-051-2/+1
|
* Run pip-licenses on the format-nongpl extra.Julian Berman2022-12-051-9/+9
|
* Replace safety with pip-audit.Julian Berman2022-12-051-4/+4
|
* Fix a missing install command for the perfsuite env.Julian Berman2022-12-051-1/+1
|
* Remove types-attrs from the typing env dependencies.Julian Berman2022-12-051-1/+2
| | | | | | | | | | It's incorrect, and attrs has its own typing annotations. From https://pypi.org/project/types-attrs/: Note: The attrs package includes type annotations or type stubs since version 18.2.0. Please uninstall the types-attrs package if you use this or a newer version.
* Remove making believe we are ReadTheDocs in CI builds.Julian Berman2022-11-221-4/+0
| | | | New sphinxext.opengraph seems to resolve the issue.
* Temporarily evade wpilibsuite/sphinxext-opengraph#87Julian Berman2022-11-221-0/+4
|
* Disable max line length in doc8.Julian Berman2022-08-231-1/+1
| | | | We'll slowly move to sentence-per-line.
* Remove a stray comma.Julian Berman2022-08-201-1/+1
|
* Re-enable more windows envs in CI.Julian Berman2022-08-061-1/+1
| | | | | | Enable UTF-8 mode to prevent cp1252 errors during test runs. See https://docs.python.org/3/using/windows.html#utf-8-mode
* html -> dirhtml, and format_nongpl -> formatnongpl in toxJulian Berman2022-07-291-3/+3
|
* Just allow passing extra args directly to perf from tox.Julian Berman2022-07-261-4/+2
|
* Minor tweaks to differentiate between perf tox envs.Julian Berman2022-07-261-3/+4
| | | | | Still needs improvement (besides expanding the benchmark suite entirely).
* Slightly speed up pip installs by skipping the version check in CI.Julian Berman2022-06-011-10/+4
| | | | Also remove some old version upgrading cruft.
* Ignore a deprecation warning coming from pkg_resources on 3.11Julian Berman2022-05-311-1/+2
| | | | See pypa/setuptools#3276.
* Modernize the packaging setup via PEP 621 and Hatch.Julian Berman2022-05-281-1/+1
| | | | | | | | | | | | Doing so jettisons setuptools in favor of a more modern, well-designed, legacy-free, and now well-supported packaging tool, Hatch. No end-user facing behavior changes are expected for any users using a recent packaging setup (within the past 2-3 years), so please report any issues. Hatch: https://hatch.pypa.io/latest/ PEP 621: https://peps.python.org/pep-0621/
* Run 3.11 in CI.Julian Berman2022-01-121-1/+1
|
* Setup mypy in `tox -e typing` and get it to passStephen Rosen2022-01-051-0/+10
| | | | | | | | | | | | | | | | | | | | | | This is the smallest possible change to get mypy passing on the jsonschema codebase. The goal of this configuration is to enforce type annotations anywhere that they appear. That is, if a method is added to the codebase, def foo(x: int) -> str: return str(x) then usages of `foo` will by type checked. If no annotations are added, `mypy` will not type check functions. For the most part, this keeps the impact low. The one exceptional case is the use of `pyrsistent.pmap` as an argument to `attr.ib(converter=...)`. Unfortunately, it causes `mypy` to incorrectly deduce the type of the init parameter created by attrs. We need to "explain the type of init" to mypy by creating a callable with a concrete type to act as the converter. The callable in question simply wraps `pmap` with a cast and presents the desired type information to mypy.
* Remove relative importsJulian Berman2021-12-151-1/+2
|
* Set PYTHONWARNINGS only for the test run itself.Julian Berman2021-10-311-2/+1
| | | | | Other things (the install :/) are just too noisy themselves, and raise errors.
* in-tree-build is now the default in pipJulian Berman2021-10-241-4/+3
|
* Ignore distutils warnings coming from pip which needs a release.Julian Berman2021-10-081-1/+1
|
* Add support for Python 3.10.Julian Berman2021-10-081-1/+1
|
* Minor restructure of which html sphinx builder we build in the tox.ini.v4.0.0a4Julian Berman2021-08-241-12/+5
|
* Drop support for Python 3.6.deprecationsJulian Berman2021-08-201-1/+1
| | | | | | | | | It's in security fix only mode (till EOY) and doesn't support module-level __getattr__ yet, which presents enough of a minor nuisance to drop it. Users should stick to older jsonschema versions (which should be properly marked.)
* More strict style, now via bugbear.Julian Berman2021-08-181-0/+1
| | | | | | The unevaluated* validators will definitely need rewriting, what they do right now is completely incorrect (which bugbear points out at least, though poking at them trivially also does).
* And a linter to forbid slash-line-continuation.Julian Berman2021-08-181-0/+1
|
* Add a linter to ensure single quotes aren't added.Julian Berman2021-08-181-0/+1
|
* Fix missing trailing commas.draft2020-12Julian Berman2021-08-041-0/+1
| | | | Add flake8-commas to ensure this stays the case.
* Proper syntax.Julian Berman2021-07-091-1/+1
|
* Hopefully the last warning, which seems to only fire on PyPy.Julian Berman2021-07-091-1/+1
|
* Twisted 21.2.0 was released.Julian Berman2021-07-091-1/+1
|
* Another try at filtering the setuptools_scm warning.Julian Berman2021-07-091-1/+1
| | | | message has to match the start...
* And one from setuptools_scm from shallow git clones...Julian Berman2021-07-091-1/+1
|
* Ignore another warning from importlib_metadata.Julian Berman2021-07-091-1/+1
|
* Tests, not coverage toxenv.Julian Berman2021-07-091-1/+1
|
* Don't allow warnings during test runs.Julian Berman2021-07-091-0/+1
|
* Install with --in-tree-build in the tox.ini.Julian Berman2021-07-091-4/+9
| | | | | | | | Follows pip's warning message advice, which recommends trying this option because out-of-tree builds will be removed. See: pypa/pip#7555