Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LibreTranslate
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Riße, Matthias
LibreTranslate
Commits
0c85b1a5
Unverified
Commit
0c85b1a5
authored
2 years ago
by
dingedi
Browse files
Options
Downloads
Patches
Plain Diff
add python 3.10
parent
9f73221d
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.github/workflows/publish-package.yml
+3
-3
3 additions, 3 deletions
.github/workflows/publish-package.yml
.github/workflows/run-tests.yml
+1
-1
1 addition, 1 deletion
.github/workflows/run-tests.yml
setup.py
+2
-1
2 additions, 1 deletion
setup.py
with
6 additions
and
5 deletions
.github/workflows/publish-package.yml
+
3
−
3
View file @
0c85b1a5
...
@@ -12,7 +12,7 @@ jobs:
...
@@ -12,7 +12,7 @@ jobs:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
strategy
:
strategy
:
matrix
:
matrix
:
python-version
:
[
3.7
,
3.8
,
3.9
]
python-version
:
[
3.7
,
3.8
,
3.9
,
3.10
]
steps
:
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
actions/checkout@v2
...
@@ -29,7 +29,7 @@ jobs:
...
@@ -29,7 +29,7 @@ jobs:
-
name
:
Check code style with flake8 (lint)
-
name
:
Check code style with flake8 (lint)
run
:
|
run
:
|
# warnings if there are Python syntax errors or undefined names
# warnings if there are Python syntax errors or undefined names
# (remove --exit-zero to fail when syntax error)
# (remove --exit-zero to fail when syntax error)
flake8 . --count --exit-zero --select=E9,F63,F7,F82 --show-source --statistics
flake8 . --count --exit-zero --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
...
@@ -38,7 +38,7 @@ jobs:
...
@@ -38,7 +38,7 @@ jobs:
-
name
:
Test with pytest
-
name
:
Test with pytest
run
:
pytest
run
:
pytest
publish
:
publish
:
needs
:
[
tests
]
needs
:
[
tests
]
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
...
...
This diff is collapsed.
Click to expand it.
.github/workflows/run-tests.yml
+
1
−
1
View file @
0c85b1a5
...
@@ -19,7 +19,7 @@ jobs:
...
@@ -19,7 +19,7 @@ jobs:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
strategy
:
strategy
:
matrix
:
matrix
:
python-version
:
[
3.7
,
3.8
,
3.9
]
python-version
:
[
3.7
,
3.8
,
3.9
,
3.10
]
steps
:
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
actions/checkout@v2
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
2
−
1
View file @
0c85b1a5
...
@@ -33,6 +33,7 @@ setup(
...
@@ -33,6 +33,7 @@ setup(
"
Programming Language :: Python :: 3
"
,
"
Programming Language :: Python :: 3
"
,
"
Programming Language :: Python :: 3.7
"
,
"
Programming Language :: Python :: 3.7
"
,
"
Programming Language :: Python :: 3.8
"
,
"
Programming Language :: Python :: 3.8
"
,
"
Programming Language :: Python :: 3.9
"
"
Programming Language :: Python :: 3.9
"
,
"
Programming Language :: Python :: 3.10
"
]
]
)
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment