Skip to content

Commit d7e1221

Browse files
committed
➖ Remove dependency: perl
1 parent 3c493f1 commit d7e1221

File tree

8 files changed

+31
-41
lines changed

8 files changed

+31
-41
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ repos:
2222
- id: check-toml
2323
- id: check-json
2424
- repo: https://github.com/Lucas-C/pre-commit-hooks
25-
rev: v1.5.1
25+
rev: v1.5.4
2626
hooks:
2727
- id: remove-crlf
2828
- repo: https://github.com/codespell-project/codespell
@@ -45,6 +45,10 @@ repos:
4545
rev: 3.0.0
4646
hooks:
4747
- id: check-mailmap
48+
- repo: https://github.com/rhysd/actionlint
49+
rev: v1.6.25
50+
hooks:
51+
- id: actionlint
4852
- repo: https://github.com/adrienverge/yamllint
4953
rev: v1.32.0
5054
hooks:
@@ -73,12 +77,8 @@ repos:
7377
hooks:
7478
- id: update-CITATION.cff
7579
- id: update-pyproject.toml
76-
- repo: https://github.com/perltidy/perltidy
77-
rev: "20230309.04"
78-
hooks:
79-
- id: perltidy
8080
- repo: https://github.com/psf/black
81-
rev: 23.3.0
81+
rev: 23.7.0
8282
hooks:
8383
- id: black
8484
- repo: https://github.com/PyCQA/isort
@@ -92,7 +92,7 @@ repos:
9292
additional_dependencies:
9393
- tomli
9494
- repo: https://github.com/kumaraditya303/mirrors-pyright
95-
rev: v1.1.316
95+
rev: v1.1.322
9696
hooks:
9797
- id: pyright
9898
- repo: https://github.com/PyCQA/bandit

.readthedocs.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,9 @@ build:
66
os: ubuntu-22.04
77
tools:
88
python: "3"
9-
jobs:
10-
pre_build:
11-
- pip install .
12-
13-
sphinx:
14-
configuration: docs/conf.py
159

1610
formats:
17-
- pdf
11+
- htmlzip
1812

1913
python:
2014
install:

docs/api/python_wakatime.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# repl_python_wakatime
1+
# repl-python-wakatime
22

3-
````{eval-rst}
4-
```{eval-sh}
5-
cd ..
6-
scripts/generate-api.md.pl src/*/*.py
3+
```{autofile} ../../src/*/*.py
4+
---
5+
module:
6+
---
77
```
8-
````

docs/conf.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,18 @@
2525
# ones.
2626
extensions = [
2727
"sphinx.ext.autodoc",
28+
"sphinx.ext.githubpages",
29+
"sphinx.ext.napoleon",
30+
"sphinx.ext.todo",
31+
"sphinx.ext.viewcode",
2832
"myst_parser",
29-
"sphinxcontrib.eval",
33+
"sphinxcontrib.autofile",
34+
"sphinxcontrib.requirements_txt",
3035
]
3136

3237
myst_heading_anchors = 3
3338
myst_title_to_header = True
39+
todo_include_todos = True
3440

3541
# Add any paths that contain templates here, relative to this directory.
3642
templates_path = ["_templates"]

docs/requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22

33
-e .
44
myst-parser
5-
sphinxcontrib-eval
5+
sphinxcontrib-autofile
6+
sphinxcontrib-requirements-txt

docs/resources/requirements.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# Requirements
22

3-
```{eval-sh}
4-
cd ..
5-
scripts/generate-requirements.md.pl requirements/*.txt
3+
```{requirements} ../../requirements.txt
4+
---
5+
title: Mandatory Requirements
6+
---
7+
```
8+
9+
```{requirements} ../../requirements/*.txt
10+
---
11+
---
612
```

scripts/generate-api.md.pl

Lines changed: 0 additions & 10 deletions
This file was deleted.

scripts/generate-requirements.md.pl

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)