Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B-ASIC - Better ASIC Toolbox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Computer Engineering
B-ASIC - Better ASIC Toolbox
Commits
5c0dbd0d
Commit
5c0dbd0d
authored
1 month ago
by
Simon Bjurek
Browse files
Options
Downloads
Patches
Plain Diff
Replace isort hook with isort ruff rule
parent
540c84d9
Branches
Branches containing commit
No related tags found
1 merge request
!513
Various ruff rules and ILP split_on_ports improvements
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.pre-commit-config.yaml
+1
-6
1 addition, 6 deletions
.pre-commit-config.yaml
b_asic/gui_utils/about_window.py
+1
-1
1 addition, 1 deletion
b_asic/gui_utils/about_window.py
pyproject.toml
+1
-1
1 addition, 1 deletion
pyproject.toml
with
3 additions
and
8 deletions
.pre-commit-config.yaml
+
1
−
6
View file @
5c0dbd0d
...
@@ -23,12 +23,6 @@ repos:
...
@@ -23,12 +23,6 @@ repos:
hooks
:
hooks
:
-
id
:
black
-
id
:
black
-
repo
:
https://github.com/pycqa/isort
rev
:
6.0.0
hooks
:
-
id
:
isort
name
:
isort (python)
-
repo
:
https://github.com/Carreau/velin
-
repo
:
https://github.com/Carreau/velin
rev
:
0.0.11
rev
:
0.0.11
hooks
:
hooks
:
...
@@ -39,6 +33,7 @@ repos:
...
@@ -39,6 +33,7 @@ repos:
rev
:
"
v0.9.7"
rev
:
"
v0.9.7"
hooks
:
hooks
:
-
id
:
ruff
-
id
:
ruff
args
:
[
"
--fix"
,
"
--select"
,
"
I"
]
-
repo
:
https://github.com/adamchainz/blacken-docs
-
repo
:
https://github.com/adamchainz/blacken-docs
rev
:
1.19.1
rev
:
1.19.1
...
...
This diff is collapsed.
Click to expand it.
b_asic/gui_utils/about_window.py
+
1
−
1
View file @
5c0dbd0d
...
@@ -3,8 +3,8 @@ import sys # ONLY FOR DEBUG
...
@@ -3,8 +3,8 @@ import sys # ONLY FOR DEBUG
from
qtpy.QtCore
import
Qt
from
qtpy.QtCore
import
Qt
from
qtpy.QtGui
import
QCursor
,
QPixmap
from
qtpy.QtGui
import
QCursor
,
QPixmap
from
qtpy.QtWidgets
import
QApplication
# ONLY FOR DEBUG
from
qtpy.QtWidgets
import
(
from
qtpy.QtWidgets
import
(
QApplication
,
# ONLY FOR DEBUG
QDialog
,
QDialog
,
QFrame
,
QFrame
,
QHBoxLayout
,
QHBoxLayout
,
...
...
This diff is collapsed.
Click to expand it.
pyproject.toml
+
1
−
1
View file @
5c0dbd0d
...
@@ -101,7 +101,7 @@ precision = 2
...
@@ -101,7 +101,7 @@ precision = 2
exclude
=
[
"examples"
,
"test"
,
"docs_sphinx"
]
exclude
=
[
"examples"
,
"test"
,
"docs_sphinx"
]
[tool.ruff.lint]
[tool.ruff.lint]
select
=
[
"E4"
,
"E7"
,
"E9"
,
"F"
,
"SIM"
,
"B"
,
"NPY"
,
"C4"
,
"UP"
,
"RUF"
,
"A"
]
select
=
[
"E4"
,
"E7"
,
"E9"
,
"F"
,
"SIM"
,
"B"
,
"NPY"
,
"C4"
,
"UP"
,
"RUF"
,
"A"
,
"I"
]
ignore
=
[
"F403"
,
"B008"
,
"B021"
,
"B006"
,
"UP038"
,
"RUF023"
,
"A005"
]
ignore
=
[
"F403"
,
"B008"
,
"B021"
,
"B006"
,
"UP038"
,
"RUF023"
,
"A005"
]
[tool.typos]
[tool.typos]
...
...
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