Skip to content
Snippets Groups Projects
Commit 0343c362 authored by Oscar Gustafsson's avatar Oscar Gustafsson :bicyclist:
Browse files

More fixes

parent f6379e69
No related branches found
No related tags found
2 merge requests!568test mr,!551Fixes
Pipeline #164476 canceled
......@@ -23,23 +23,13 @@ repos:
hooks:
- id: black
- repo: https://github.com/Carreau/velin
rev: 0.0.11
hooks:
- id: velin
- repo: https://github.com/charliermarsh/ruff-pre-commit
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: "v0.11.4"
hooks:
- id: ruff
args: ["--fix", "--select", "I"]
- repo: https://github.com/adamchainz/blacken-docs
rev: 1.19.1
hooks:
- id: blacken-docs
- repo: https://github.com/asottile/pyupgrade
rev: v3.19.1
hooks:
......
include README.md
include LICENSE
include CMakeLists.txt
# include CMakeLists.txt
include b_asic/GUI/operation_icons/*
recursive-include src *.cpp *.hpp
# recursive-include src *.cpp *.hpp
......@@ -11,7 +11,7 @@ dependencies = [
"qtpy",
"graphviz>=0.19",
"matplotlib>=3.7",
"setuptools_scm[toml]>=6.2",
"setuptools_scm[toml]>=8",
"networkx>=3",
"pulp",
"qtawesome",
......@@ -59,12 +59,7 @@ zip-safe = false
include = ["b_asic*"]
[build-system]
requires = [
"setuptools>=45",
"setuptools_scm[toml]>=6.2",
"wheel",
"oldest-supported-numpy"
]
requires = ["setuptools>=80", "setuptools_scm[toml]>=8"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
......@@ -77,18 +72,6 @@ fallback_version = "0.0+UNKNOWN"
homepage = "https://gitlab.liu.se/da/B-ASIC"
documentation = "https://da.gitlab-pages.liu.se/B-ASIC/"
[tool.black]
skip-string-normalization = true
preview = true
line-length = 88
exclude = "(test/test_gui/*|b_asic/scheduler_gui/ui_main_window.py)"
[tool.isort]
profile = "black"
line_length = 88
src_paths = ["b_asic", "test"]
skip = ["test/test_gui", "b_asic/scheduler_gui/ui_main_window.py"]
[tool.mypy]
packages = ["b_asic", "test"]
no_site_packages = true
......@@ -114,9 +97,24 @@ select = [
"RUF",
"A",
"I",
"G004"
"G004",
"D201",
"D206",
"D207",
"D208",
"D209",
"D210",
"D213",
"D214",
"D215",
"D401",
"D404",
"D417",
]
ignore = ["F403", "B008", "B021", "B006", "UP038", "RUF023", "A005"]
[tool.typos]
default.extend-identifiers = { ba = "ba", addd0 = "addd0", inout = "inout", ArChItEctUrE = "ArChItEctUrE" }
[tool.ruff.lint.isort]
known-first-party = ["b_asic"]
[tool.codespell]
ignore-words-list = ["inout"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment