Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[run]
data_file = .reports/.coverage
source =
hpopt/
branch = true
omit =
*/__init__.py
*/tests/*
setup.py

[report]
omit =
__init__.py
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[flake8]
extend-ignore = E203
exclude = .venv
exclude = .venv, tests/*
max-complexity = 6
max-line-length = 120
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
.vscode
.trunk
venv
__pycache__
*.egg-info
.reports
tmp/
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ repos:
rev: "5.9.2"
hooks:
- id: isort
alias: isort_ote_sdk
alias: isort_hpopt
name: "isort (hpopt)"
args: ["--settings", ".isort.cfg"]
files: '^hpopt/.*\.py'
Expand All @@ -16,7 +16,7 @@ repos:
hooks:
- id: black
name: "black (hpopt)"
args: [--line-length, "88"]
args: [--line-length, "120"]
files: '^(hpopt)/.*\.py'

- repo: https://github.com/PyCQA/flake8
Expand Down
Loading