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

Commite08051e

Browse files
Update linters and minor versions
1 parente0524cc commite08051e

File tree

86 files changed

+142
-64
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+142
-64
lines changed

‎.pre-commit-config.yaml‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
repos:
22
-repo:https://github.com/pycqa/isort
3-
rev:5.12.0
3+
rev:6.0.0
44
hooks:
55
-id:isort
66
-repo:https://github.com/asottile/yesqa
77
rev:v1.5.0
88
hooks:
99
-id:yesqa
1010
-repo:https://github.com/asottile/pyupgrade
11-
rev:v3.15.0
11+
rev:v3.19.1
1212
hooks:
1313
-id:pyupgrade
1414
args:['--py38-plus']
1515
-repo:https://github.com/ambv/black
16-
rev:23.11.0
16+
rev:25.1.0
1717
hooks:
1818
-id:black
1919
-repo:https://github.com/pycqa/flake8
20-
rev:6.1.0
20+
rev:7.1.1
2121
hooks:
2222
-id:flake8
23-
-repo:https://github.com/jschwartzentruber/taskcluster_yml_validator
24-
rev:v0.0.11b
23+
-repo:https://github.com/marco-c/taskcluster_yml_validator
24+
rev:v0.0.12
2525
hooks:
2626
-id:taskcluster_yml
2727
-repo:meta
@@ -34,4 +34,4 @@ repos:
3434
entry:bash -c 'cd server/frontend && npm run lint'
3535
language:system
3636
files:^server/frontend/.*\.(js|mjs|cjs|vue)$
37-
stages:[ commit ]
37+
stages:[ commit ]

‎.taskcluster.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ tasks:
6666
version:"3.12"
6767
env:
6868
TOXENV:py312
69+
-name:tests python 3.13 (no django)
70+
version:"3.13"
71+
env:
72+
TOXENV:py313
6973
-name:linting
7074
version:"3.9"
7175
script:

‎Collector/__main__.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
1515
@contact: choller@mozilla.com
1616
"""
17+
1718
importsys
1819

1920
from .Collectorimportmain

‎Collector/tests/test_Collector.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
1212
@contact: choller@mozilla.com
1313
"""
14+
1415
importjson
1516
importos
1617
importplatform
@@ -266,7 +267,7 @@ class response_t: # noqa
266267
withoutzip_path.open("r+b")asfp:
267268
# corrupt the CRC field for the signature file in the zip
268269
fp.seek(0x42)
269-
fp.write(b"\xFF")
270+
fp.write(b"\xff")
270271
withoutzip_path.open("rb")asfp:
271272

272273
classresponse_t:# noqa
@@ -344,7 +345,7 @@ class response2_t:
344345
status_code=requests.codes["ok"]
345346
headers= {"content-disposition":"foo"}
346347
text="OK"
347-
content=b"testcase\xFF"
348+
content=b"testcase\xff"
348349

349350
# myget1 mocks requests.get to return the rest response to the crashentry get
350351
defmyget1(url,headers=None):

‎CovReporter/__main__.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
1515
@contact: choller@mozilla.com
1616
"""
17+
1718
importsys
1819

1920
from .CovReporterimportmain

‎CovReporter/tests/test_CovReporter.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
1212
@contact: choller@mozilla.com
1313
"""
14+
1415
importjson
1516
importos
1617
importtempfile

‎Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ USER node
66
WORKDIR /src
77

88
RUN npm install
9-
RUN npm runproduction
9+
RUN npm runbuild
1010

1111
FROM python:3.10-alpine as backend
1212

‎EC2Reporter/__main__.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
1515
@contact: choller@mozilla.com
1616
"""
17+
1718
importsys
1819

1920
from .EC2Reporterimportmain

‎FTB/ConfigurationFiles.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
1313
@contact: choller@mozilla.com
1414
"""
15+
1516
importconfigparser
1617
importsys
1718

‎FTB/CoverageHelper.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
1212
@contact: choller@mozilla.com
1313
"""
14+
1415
importre
1516

1617

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp