Commit Graph

24 Commits

Author SHA1 Message Date
Michael Howitz 4142739af1
Added local copy of Django to deps in tox.ini.
This also bumps tox to 4.0.
2023-06-01 14:56:41 +01:00
Mariusz Felisiak 6015bab80e Refs #34140 -- Added configurations to run blacken-docs linter and adjusted docs.
This adds:
- GitHub actions,
- tox configuration,
- pre-commit hook, and
- makefile rules
to run blacken-docs linter.

Co-authored-by: David Smith <smithdc@gmail.com>
2023-03-01 13:02:57 +01:00
Stephen 34b3288149
Corrected passenv value for tox 4.0.6+. 2023-01-25 06:09:57 +01:00
Mariusz Felisiak 3bbe22dafc
Fixed #34233 -- Dropped support for Python 3.8 and 3.9. 2023-01-18 09:46:01 +01:00
Mariusz Felisiak e51c998f8d
Refs #33173 -- Added Python 3.11 to classifiers and tox.ini. 2022-10-26 10:25:07 +02:00
Michael Howitz 8eed30aec6
Fixed #34046 -- Fixed pinning flake8 and isort versions in tox.ini. 2022-09-24 17:32:42 +01:00
Carlton Gibson ba94488196 Refs #33476 -- Adjusted docs and config files for Black.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2022-02-07 20:36:04 +01:00
Mariusz Felisiak 15987c9c53
Refs #32074 -- Added Python 3.10 to classifiers and tox.ini. 2021-10-05 09:59:10 +02:00
Matthias Kestenholz 0102b98648 Used allowlist_externals in tox.ini (again)
allowlist_externals is already used in this file.

Refs #31670
2021-02-10 17:09:11 +01:00
Mariusz Felisiak ec0ff40631 Fixed #32355 -- Dropped support for Python 3.6 and 3.7 2021-02-10 10:20:54 +01:00
David Smith 51d6e6e774 Refs #31670 -- Used allowlist_externals in tox.ini. 2020-10-26 09:09:59 +01:00
Mariusz Felisiak e18156b6c3
Refs #31040 -- Doc'd Python 3.9 compatibility. 2020-10-13 08:35:01 +02:00
David Smith e74b3d724e Bumped minimum isort version to 5.1.0.
Fixed inner imports per isort 5.
isort 5.0.0 to 5.1.0 was unstable.
2020-07-30 10:58:59 +02:00
Bastien Vallet 37f02c47f8 Refs #29926 -- Added Python 3.8 to classifiers and tox.ini. 2019-10-24 13:08:52 +02:00
dustinlharrison b0e92fb49d Fixed #30806 -- Prevented tox tests hanging on macOS.
MacOS users may need to set OBJC_DISABLE_INITIALIZE_FORK_SAFETY=TRUE
(#27086) to prevent tests from hanging.  If set, also pass the environment
variable to `tox`.
2019-10-09 11:20:13 +02:00
Ramiro Morales aed89adad5 Fixed #30367 -- Changed "pip install" to "python -m pip install" in docs, comments and hints. 2019-04-18 14:41:15 +02:00
Tim Graham 7e6b214ed3 Fixed #30116 -- Dropped support for Python 3.5. 2019-01-30 10:19:48 -05:00
Asif Saifuddin Auvi 2f7cd7f8ec Refs #28814 -- Documented Python 3.7 compatibility. 2018-06-28 11:02:29 -04:00
Tim Graham 7d8d630e37 Refs #27857 -- Removed Python 3.4 from tox.ini. 2017-10-06 09:09:05 -04:00
Mads Jensen 062684057e Updated link to Tox documentation in tox.ini. 2017-10-06 09:02:17 -04:00
Tim Graham 1c466994d9 Refs #23919 -- Removed misc Python 2/3 references. 2017-01-25 13:59:25 -05:00
Andrii Soldatenko 72be3152d7 Refs #27025 -- Added Python 3.6 to tox.ini. 2017-01-05 20:09:45 -05:00
Josh Smeaton e59ba90c78 Added environment variable support to tox configuration
PYTHONPATH is required for passing through test modules that don't
already exist within the Django tests/ directory.

DISPLAY is required for testing selenium on systems that use Xvfb.

HOME is where the Vagrant djangobox stores geoip data, but it could be
useful for other tox commands that require access to data outside of
Django.
2016-08-24 21:02:35 +10:00
Tobias McNulty 09d38746ba Fixed #22446 -- Added tox.ini to automate pull request checks. 2016-07-20 14:06:28 -04:00