summaryrefslogtreecommitdiff
path: root/noxfile.py
Commit message (Collapse)AuthorAgeFilesLines
* Build documentation with Sphinx 6 (#11904)Pradyun Gedam2023-03-271-0/+1
|
* Implement package-selection CLI in `nox -s vendoring`Pradyun Gedam2023-02-061-2/+11
| | | | This makes it easier to update/not update certain packages.
* Add 3.11 to CI (#11550)Tzu-ping Chung2022-10-281-1/+1
|
* Update noxfile.pyPradyun Gedam2022-10-081-1/+1
|
* Update noxfile.pyPaul Moore2022-10-081-4/+7
| | | Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
* Add a warning comment to the vendoring session in noxfilePaul Moore2022-10-081-0/+4
|
* Use default setuptools behaviour in our testsStéphane Bidoul2022-07-231-2/+0
| | | | Our tests should pass without configuring setuptools in legacy mode.
* Fix the coverage tracking nox sessionPradyun Gedam2022-07-081-3/+11
| | | | This session now correctly handles tracking coverage and running tests.
* Rename `tox_pip.py` to `protected_pip.py`Pradyun Gedam2022-04-291-1/+1
| | | | | This is in line with what the only point of use (in noxfile.py) calls this.
* Use the standard library distutils for running testsPradyun Gedam2022-01-141-1/+8
| | | | | This is in line with what our unit tests are written with the assumption of.
* Fix lintingDiego Ramirez2021-12-011-1/+0
|
* Implement suggestions, and use more Nox sessions in our CIDiego Ramirez2021-12-011-2/+6
|
* Resolve all the `pre-commit` issuesDiego Ramirez2021-11-291-4/+3
|
* Replace tox with Nox (CLI, docs)Diego Ramirez2021-11-291-6/+0
|
* Simple fixes to the `coverage` Nox sessionDiego Ramirez2021-11-271-3/+3
|
* Make some fixes to the `coverage` Nox sessionDiego Ramirez2021-11-271-6/+6
| | | | - Simplify it, by replacing a run with a Python if statement. - Pass an env argument to the coverage call to ensure it will work.
* Add a `coverage` session to our noxfileDiego Ramirez2021-11-251-0/+16
| | | That way, we can move from tox to Nox without problems. See pypa/pip#6721 for details.
* Drop support for soon-EOL Python 3.6Hugo van Kemenade2021-11-081-1/+1
|
* Upgrade to vendoring 1.2Pradyun Gedam2021-10-141-1/+1
| | | | | | | | | | | | This enables wheel usage in vendoring's license fetching, at the cost of requiring two more license-related fallbacks. The additional fallbacks are due to packages which include the license in their source distributions but not in their wheel distributions, and the change in vendoring that prefers using wheels when possible. This should fix the bootstrapping problem we're seeing with `flit` and `tomli`, by allowing us to use wheels to break the loop.
* Avoid passing `.` to vendoringPradyun Gedam2021-10-091-1/+1
|
* Bump to vendoring 1.0.xPradyun Gedam2021-09-131-1/+1
| | | | | | | | | | This now supports: - Clearer failure mode, for imports of the format `import x.y` - Regular expression support for dropping files (useful for when we vendor pygments) - Patching files prior to rewriting imports, allowing generation of patches on the original package sources. - Detection of py.typed files, which omits generation of unnecessary `.pyi` stubs.
* Upgrade nox to remove mypy ignoresJon Dufresne2021-08-121-4/+2
|
* Move many type comments to annotationsJon Dufresne2021-08-101-4/+2
| | | | | | | | | | Use the tool com2ann to automatically convert most type comments to type annotations. Some type comments continue to exist where any work beyond the automatic conversion was required (for example, additional formatting or circular references). For additional information on the com2ann tool, see: https://github.com/ilevkivskyi/com2ann
* Add Python 3.10 supportPradyun Gedam2021-08-061-1/+1
|
* Fix test requirement paths in noxfilePradyun Gedam2021-07-281-2/+2
|
* Move docs requirements to docs/Pradyun Gedam2021-07-241-1/+1
| | | | | This makes the file easier to locate, by placing it next to the stuff that it will affect.
* Make proper annotations on `noxfile.py`Diego Ramirez2021-06-081-22/+11
| | | As I said on the pypa PR 10018, it is necessary to convert the commentaries into proper annotations.
* Get rid of the tools/automation folderPradyun Gedam2021-04-011-1/+1
| | | | It was an unnecessary level added to the folder hierarchy.
* No `--hook-stage=manual` to pre-commit in noxPradyun Gedam2021-04-011-1/+0
|
* Add a docs-live nox sessionPradyun Gedam2021-03-061-0/+16
|
* Make vendoring task respond well to empty linesTzu-ping Chung2021-02-231-4/+7
|
* Tweak and blacken noxfile.pyPradyun Gedam2021-02-211-14/+16
|
* Complete typing of noxfile.pyJon Dufresne2021-02-191-8/+19
| | | | | | | | | | | | | | | Allows removing a "mypy: disallow-untyped-defs=False" comment. To workaround a mypy bug, map(os.path.basename, distribution_files) was changed to use a generator expression. See: https://github.com/python/mypy/issues/9864 To verify correct usage of the nox API, it is now a dependency during pre-commit mypy runs. The mypy configuration "follow_imports = silent" allowed erroneous code to pass, so it has been removed. Now, all imports must be available during type.
* Better way to run slow linters in CI onlyStéphane Bidoul2021-01-241-3/+1
| | | | Taking advantage of pre-commit's manual stage.
* Release process now (as of 21.0) produces py3-only wheelsPaul Moore2021-01-231-1/+1
|
* Merge pull request #9333 from sbidoul/pre-commit-speed-sbiStéphane Bidoul2020-12-231-0/+3
|\ | | | | Improve local pre-commit experience
| * Improve local pre-commit experienceStéphane Bidoul2020-12-211-0/+3
| |
* | Drop Python 2.7 and 3.5 from CIPradyun Gedam2020-12-191-1/+1
|/
* Don't upgrade setuptools when vendoringPradyun Gedam2020-11-281-0/+3
| | | | Signed-off-by: Pradyun Gedam <pradyunsg@users.noreply.github.com>
* Add automation for upgrading dependenciesPradyun Gedam2020-11-191-3/+45
| | | | Signed-off-by: Pradyun Gedam <pradyunsg@users.noreply.github.com>
* Document and start testing Python 3.9 supportNguyễn Gia Phong2020-10-121-1/+1
| | | | At first use it for GitHub Action for linting.
* Remove a sorted call Pradyun Gedam2020-05-211-1/+1
| | | Otherwise, we'd try sorting this list twice.
* Apply suggestion from review commentsPradyun Gedam2020-05-211-1/+1
| | | Co-authored-by: Nguyễn Gia Phong <mcsinyx@disroot.org>
* Make nox upload-release work on WindowsPaul Moore2020-05-211-3/+4
|
* Fix copying distribution files from checkoutPradyun Gedam2020-04-211-4/+4
|
* Remove pip version requirement for vendoringPaul Moore2020-04-141-3/+0
|
* Add a vendoring session to noxfile.pyPaul Moore2020-04-131-0/+10
|
* Significantly improve release version validationPradyun Gedam2020-04-111-4/+4
|
* Speed up `nox -s docs`Pradyun Gedam2020-03-141-1/+1
|
* Fix nox -s docsPradyun Gedam2020-02-111-0/+1
|