Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pmbootstrap
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
postmarketOS
pmbootstrap
Commits
8136a790
Unverified
Commit
8136a790
authored
9 months ago
by
Oliver Smith
Browse files
Options
Downloads
Patches
Plain Diff
CI: ignore 'import tomllib' in vermin
parent
6ee9b4f7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#190970
passed
9 months ago
Stage: lint
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.ci/vermin.sh
+0
-1
0 additions, 1 deletion
.ci/vermin.sh
pmb/helpers/toml.py
+1
-1
1 addition, 1 deletion
pmb/helpers/toml.py
with
1 addition
and
2 deletions
.ci/vermin.sh
+
0
−
1
View file @
8136a790
...
...
@@ -16,7 +16,6 @@ vermin \
--backport
enum
\
--backport
typing
\
--lint
\
--no-parse-comments
\
--eval-annotations
\
$(
find
.
-name
'*.py'
\
-a
-not
-path
"./.venv/*"
\
...
...
This diff is collapsed.
Click to expand it.
pmb/helpers/toml.py
+
1
−
1
View file @
8136a790
...
...
@@ -5,7 +5,7 @@ from pmb.helpers.exceptions import NonBugError
try
:
# Python >= 3.11
from
tomllib
import
load
,
TOMLDecodeError
from
tomllib
import
load
,
TOMLDecodeError
# novermin
except
ImportError
:
# Python < 3.11
from
tomli
import
load
,
TOMLDecodeError
# type:ignore[import-not-found,no-redef]
...
...
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