Commit Graph

26 Commits

Author SHA1 Message Date
Bruno Alla
ea6ff7907a Move template linting and formatting to ruff
The generated project already uses that, let's be consistent and use it everywhere
2024-12-31 13:09:17 +00:00
Jelmer Draaijer
0a291c1ec1 Replace pip with uv for the project files 2024-10-05 17:45:50 +02:00
Jelmer
d6f18f04a9
Remove empty setup.py and references to it (#5355) 2024-09-06 17:30:55 +02:00
Jelmer Draaijer
b488056b63 Upgrade Python to version 3.12 2024-03-18 20:07:24 +01:00
Bruno Alla
32474ab367
Run template tests in parallel in pytest-xdist (#4275) 2023-04-15 15:53:31 +01:00
Bruno Alla
17fa459dc3
Fix inconsistent line length and move configs to pyproject.toml (#4276)
* Fix inconsistent line length and move config to pyproject.toml

Fix #2720

* Fix running tox with AUTOFIXABLE_STYLES

* Adjust some styles

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Adjust more styles

* Split isort and flake8 tests

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-04-15 15:43:04 +01:00
Jelmer
42c30dafcb
Upgrade Python to version 3.11 (Faster CPython) (#4256)
* Upgrade Python to version 3.11 (Faster CPython)

* Update pyupgrade config for Python 3.11

* Update tox env to Python 3.11

* Update to latest Python 3.11.3

* Add a note about lack of support in PythonAnywhere

* Rephrase note

* Fix casing

---------

Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2023-04-15 11:42:33 +01:00
Jelmer
4ea0e98f3f
Upgrade Python version from 3.9 to 3.10 (#3913) 2022-10-24 21:41:00 +01:00
areski
a1d551d067 Update from Python3.8 to Python3.9 2021-01-26 16:13:27 +01:00
Bruno Alla
81bc4fb73d Run black on our custom scripts 2020-08-10 18:35:18 +01:00
Ernesto Cedeno
0cdf60ceac Change Python version to 3.8 2020-03-29 19:55:27 +02:00
Bruno Alla
33f210abc4 Simplify setup for the automated tests 2020-02-29 17:31:16 +00:00
Nicolas Stefani
1f68e370ee Updated python version to 3.7 2019-09-29 21:07:59 -03:00
Bruno Alla
f8d2eb11a9 Improve error reporting by pytest inside of Tox 2019-05-31 10:02:42 +01:00
Bruno Alla
a245651f66 Increase test parallelism
- Split out tests and add markers to control where they are run in Travis
- Run each marker on a separate Travis task
- Install pytest-xdist to increase parallelism inside each worker
- Set xdist parallelism to 3
2019-05-15 12:37:17 +01:00
Bruno Alla
68f7268770
Run Black on Travis (#1957)
* Create a test matrix on Travis CI to help testing multiple options

* Change test_docker.sh to fail if any command in it fails

* Run black on the CI with --check option

* Fix formatting of project files using black

* Install black in the docker container

* Exclude migrations in black checks

* Fix Black formatting violations

* Run black on the whole generated project & fix issues
2019-03-18 17:49:43 +00:00
Wan Liuyang
9cb7e50b8e Convert old-styled string formatting to f-string (#1528)
* Convert old-styled string formatting to f-string

* Update flake8 explicit version to 3.5.0

* Make tox.ini in sync with requirements.txt

* Fix annoying flake8 F405
2018-03-06 19:56:27 +03:00
Nikita P. Shupeyko
70b56839c6 Simplify tox.ini 2018-03-05 14:25:55 +03:00
Daniel Roy Greenfeld
806f03310b Python 3.6 or go home 2017-12-28 08:45:28 -08:00
Audrey Roy Greenfeld
734526a8c5 Bump to include Python 3.6 2017-12-28 08:30:33 -08:00
Daniel Roy Greenfeld
6aced9ba73 Remove Python 2.7 support per #1129 (#1130)
* Remove Python 2.7 support per

* Remove Python 2.7 references

* Remove Python 2.7 references

* remove python 2 entirely
2017-04-21 12:31:45 -07:00
Jannis Gebauer
1a4f000940 pin flake8 to 2.5.5 to omit f405 errors 2016-06-18 10:44:56 +02:00
Raphael Pierzina
7664194ab8 Ensure that tox passes on certain environment variables 2015-11-09 00:54:48 +01:00
Raphael Pierzina
54267d0dce Remove requirements.txt from tox.ini in favor of explicit testenv deps 2015-11-09 00:41:35 +01:00
Raphael Pierzina
bea23a7a91 Add pytest-cookies to testenv dependencies 2015-11-09 00:33:41 +01:00
Raphael Pierzina
ae9e912b62 Implement a basic tox.ini based on requirements.txt 2015-11-09 00:33:41 +01:00