Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7525571

Browse files
pip: bump the pip-packages group across 1 directory with 2 updates (#282)
* pip: bump the pip-packages group across 1 directory with 2 updatesBumps the pip-packages group with 2 updates in the / directory: [potodo](https://git.afpy.org/AFPy/potodo) and [sphinx-lint](https://github.com/sphinx-contrib/sphinx-lint).Updates `potodo` from 0.25 to 0.31Updates `sphinx-lint` from 1.0.0 to 1.0.1- [Release notes](https://github.com/sphinx-contrib/sphinx-lint/releases)- [Commits](sphinx-contrib/sphinx-lint@v1.0.0...v1.0.1)---updated-dependencies:- dependency-name: potodo dependency-version: '0.31' dependency-type: direct:production update-type: version-update:semver-minor dependency-group: pip-packages- dependency-name: sphinx-lint dependency-version: 1.0.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: pip-packages...Signed-off-by: dependabot[bot] <support@github.com>* Replace scan_path with PoDirectory for stats* Remove gettext installation step* Re-add gettext installation required by powrap---------Signed-off-by: dependabot[bot] <support@github.com>Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
1 parent366e654 commit7525571

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

‎requirements.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
polib==1.2.0
22
pomerge==0.1.4
3-
potodo==0.25
3+
potodo==0.31
44
powrap==1.0.2
55
sphinx-intl==2.3.2
6-
sphinx-lint==1.0.0
6+
sphinx-lint==1.0.1

‎scripts/stats.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
fromdatetimeimportdatetime,timezone
1111
frompathlibimportPath
1212

13-
frompotodo.potodoimportscan_path
13+
frompotodo.po_fileimportPoDirectory
1414

1515
logging.basicConfig(level=logging.INFO)
1616

@@ -29,7 +29,8 @@ def main() -> None:
2929
ifnotlist(pofiles_path.rglob("*.po")):
3030
raiseFileNotFoundError(f"No PO files found in{pofiles_path}")
3131

32-
stats=scan_path(pofiles_path,no_cache=True,hide_reserved=False,api_url="")
32+
stats=PoDirectory(pofiles_path,use_cache=False)
33+
stats.scan()
3334

3435
stats_data= {
3536
"completion":str(round(stats.completion,2))+"%",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp