Commit Graph

16 Commits

Author SHA1 Message Date
Andy Schoenberger
59f8c306f8
Redirect paths from the notebooks route to the tree route if they are directories (#7446) 2024-09-09 12:19:50 +02:00
Steven Silvester
0a08ba3f96
Update ruff config (#7190)
* Update ruff config

* cleanup
2023-12-19 15:17:07 +01:00
Ben Greiner
e2eb8f2a16
Require importlib_resources for testing on Python < 3.10 (#7016)
* importlib_resources 5.0 is python < 3.10

* Add python matrix to test workflow

* Ignore datetime.utcnow deprecation from Python 3.12

* lint: remove type ignore

* More datetime.utc deprecation
2023-08-23 08:26:05 +02:00
Lumír 'Frenzy' Balhar
0188ad8fd6
Fix Python 3.12 compatibility (#6965)
.joinpath with an empty argument no longer works as before thanks to this change in CPython: cea910ebf1 (diff-2e741d925220d74a9cc04cda1314d3649d9d189c0efc7db18e5387a51225b61c)

This change mimics the old internal behavior by using _paths attribute directly.
2023-08-04 09:18:21 +02:00
Cheuk Ting Ho
f276c54090
Rename browser tab title to Home
* Rename browser tab title to Home (#6912)

* fixing `test_tree_handler` to expect Home as title
2023-06-12 07:22:15 +02:00
pre-commit-ci[bot]
b591d61ed1
[pre-commit.ci] pre-commit autoupdate (#6762)
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/charliermarsh/ruff-pre-commit: v0.0.237 → v0.0.254](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.237...v0.0.254)

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

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

* Update ruff

* Lint conftest

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jeremy Tuloup <jeremy.tuloup@gmail.com>
2023-03-07 15:47:57 +01:00
pre-commit-ci[bot]
5e25c0b426
[pre-commit.ci] pre-commit autoupdate (#6714)
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/python-jsonschema/check-jsonschema: 0.19.2 → 0.21.0](https://github.com/python-jsonschema/check-jsonschema/compare/0.19.2...0.21.0)
- [github.com/psf/black: 22.12.0 → 23.1.0](https://github.com/psf/black/compare/22.12.0...23.1.0)
- [github.com/charliermarsh/ruff-pre-commit: v0.0.237 → v0.0.243](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.237...v0.0.243)

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

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

* Update .pre-commit-config.yaml

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jeremy Tuloup <jeremy.tuloup@gmail.com>
2023-02-09 10:40:54 +01:00
Jeremy Tuloup
534b6f67fd
Add back # type:ignore (#6695)
* Add back `# type:ignore`

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

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

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-01-16 09:38:08 +01:00
Jeremy Tuloup
4051c5eea4
Fix check_links and and Test Lint CI failures (#6675)
* Fix check links

* Remove `type:ignore`
2023-01-03 09:18:47 +01:00
Steven Silvester
22475a39ab
Adopt ruff and typing (#6658)
* adopt ruff and typing

* reinstate local hooks

* fix classifier

* fix lint

* limit ruff target

* fix doc8 test

* add integrity check

* lint

* lint

* only use mdformat for changelog

* prettier
2022-12-11 17:07:54 +01:00
Steven Silvester
778ecc5551
Add more Python tests (#6639) 2022-11-24 20:48:44 -06:00
Steven Silvester
7c7d400535 fixes 2022-11-19 15:37:31 -06:00
Kian Eliasi
b721d3f17c Use pathlib instead of os.path.join in 'tests/conftest.py' 2022-11-16 13:40:00 +01:00
Jeremy Tuloup
0ce4fe50cb Update to using files 2022-11-16 08:07:44 +00:00
Steven Silvester
9141f3eabb
Fix async contents handling and add test (#6616)
* Fix async contents handling and add test

* cleanup

* fix arg

* add another ignore
2022-11-10 20:50:26 -06:00
Steven Silvester
64eed5caa4
Add pytest and handle warnings (#6338) 2022-04-01 15:08:30 -05:00