Skip to content

Commit

Permalink
Bit more cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
qartik committed Sep 26, 2023
1 parent 4ad7b00 commit dc19e3c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 15 deletions.
11 changes: 1 addition & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,8 @@ repos:
hooks:
- id: mypy
pass_filenames: false
args: [pytket/phir, tests]
args: [.]
additional_dependencies: [
lark-parser==0.12.0,
pytest==7.4.2,
types-setuptools==68.2.0.0,
]

# Building docs on precommit seems like this will be slow.
# - repo: https://github.com/pre-commit/mirrors-sphinx
# rev: v4.2.0
# hooks:
# - id: sphinx
# stages: [commit]
# language_version: python3.11
6 changes: 1 addition & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,11 @@ name = "pytket-phir"
version = "0.0.1"
description = "A python library"
requires-python = ">=3.10"
authors = [{name = "Author", email = "author@email.com" }]
authors = [{name = "Author", email = "author@quantinuum.com" }]

[tool.setuptools.packages.find]
where = ["."]

[tool.ruff.pydocstyle]
# Use Google-style docstrings.
convention = "google"

[tool.pytest.ini_options]
pythonpath = [
"."
Expand Down
3 changes: 3 additions & 0 deletions ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,6 @@ ignore = []
[per-file-ignores]
"__init__.py" = ["F401"] # module imported but unused
"tests/*" = ["S101"] # Use of `assert` detected

[pydocstyle]
convention = "google"

0 comments on commit dc19e3c

Please sign in to comment.