Skip to content

Commit

Permalink
Merge branch 'main' into platform
Browse files Browse the repository at this point in the history
  • Loading branch information
amitjansc committed Apr 6, 2022
2 parents 1d2fe82 + 918ab63 commit 424a595
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .bandit
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
assert_used:
skips: ["*_test.py", "test_*.py"]
3 changes: 2 additions & 1 deletion .github/workflows/main_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
run: |
python -m pip install -U pip
python -m pip install -r dev-requirements.txt
python -m pip install -r requirements.txt
- name: Code Quality
run: |
Expand All @@ -36,7 +37,7 @@ jobs:
pylint src -E
mypy
interrogate -vv --fail-under=80
bandit -r src
bandit -r src -c .bandit
mdformat .
nbqa black .
nbqa isort .
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull_request_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
pylint src -E
mypy
interrogate -vv --fail-under=80
bandit -r src
bandit -r src -c .bandit
mdformat .
nbqa black .
nbqa isort .
Expand Down
8 changes: 2 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/ambv/black
rev: 22.1.0
rev: 22.3.0
hooks:
- id: black

Expand All @@ -20,7 +20,7 @@ repos:
rev: 1.5.0
hooks:
- id: interrogate
args: [-vv, -i, --fail-under=80]
args: [src, -vv, -i, --fail-under=80]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v0.941" # Use the sha / tag you want to point at
Expand Down Expand Up @@ -75,10 +75,6 @@ repos:
rev: 1.3.1
hooks:
- id: nbqa-black
additional_dependencies: [black==20.8b1]
- id: nbqa-isort
additional_dependencies: [isort==5.6.4]
- id: nbqa-flake8
additional_dependencies: [flake8==4.0.1]
- id: nbqa-mypy
additional_dependencies: [mypy==0.941]
2 changes: 2 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[FORMAT]
max-line-length=120
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Qilimanjaro Library Boilerplate
# Qilimanjaro Library for the Lab: QiliLab

[![codecov](https://codecov.io/gh/qilimanjaro-tech/qililab/branch/main/graph/badge.svg?token=gSfTPmCeJw)](https://codecov.io/gh/qilimanjaro-tech/qililab)
![interrogate](./interrogate_badge.svg)

Qilimanjaro template repository to create a Python library
This is the Qilimanjaro Library tools to manage the low-level stack control of the Qilimanjaro quantum chips: for both the laboratory devices and hardware quantum control, and also the Qubit Simulators.

## Development setup

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ ensure_newline_before_comments = true
[tool.commitizen]
version = "0.0.0"
version_files = [
"src/boilerplate/__init__.py",
"src/qililab/__init__.py",
"pyproject.toml:version"
]
tag_format = "$version"
Expand Down

0 comments on commit 424a595

Please # to comment.