Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
opcua-asyncio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nikola Balog
opcua-asyncio
Commits
54895d21
Commit
54895d21
authored
Oct 26, 2024
by
Olivier
Committed by
oroulet
Oct 27, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add format check to CI (might already have there but..)
parent
f214396c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
0 deletions
+6
-0
.git-blame-ignore-revs
.git-blame-ignore-revs
+1
-0
.github/workflows/python-package.yml
.github/workflows/python-package.yml
+1
-0
pyproject.toml
pyproject.toml
+4
-0
No files found.
.git-blame-ignore-revs
View file @
54895d21
5530cc393682e555299ae444e692ccba9c616b2f
383994cc377f7f5c951a26cdc7baaee2c0116af4
.github/workflows/python-package.yml
View file @
54895d21
...
...
@@ -31,6 +31,7 @@ jobs:
uv tool install pre-commit
-
name
:
Lint with ruff
run
:
|
uvx ruff format --diff
uvx pre-commit run -a
build
:
...
...
pyproject.toml
View file @
54895d21
...
...
@@ -92,6 +92,10 @@ target-version = "py37"
[tool.ruff.lint]
select
=
[
"E"
,
"F"
,
"G004"
,
"W"
,
"UP"
]
ignore
=
[
"E111"
,
# conflicts with ruff format, cf doc
"E114"
,
# conflicts with ruff format, cf doc
"E117"
,
# conflicts with ruff format, cf doc
"E501"
,
# conflicts with ruff format, cf doc
"UP032"
,
# Use f-string instead of `format` call
"UP030"
,
# Use implicit references for positional format fields
"UP027"
,
# Replace unpacked list comprehension with a generator expression
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment