Skip to content

Commit

Permalink
Commit flake8-quotes check for picking up later
Browse files Browse the repository at this point in the history
  • Loading branch information
benhoyt committed Jan 8, 2024
1 parent 6847b8e commit 724bd0e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,14 @@ profile = "black"
max-line-length = 99
max-doc-length = 99
exclude = [".git", "__pycache__", ".tox", "build", "dist", "*.egg_info", "venv"]
select = ["E", "W", "F", "C", "N", "R", "D", "H"]
select = ["E", "W", "F", "C", "N", "R", "D", "H", "Q0"]
ignore = ["D105", "D107", "W503"]
# D100, D101, D102, D103, D104: Ignore missing docstrings in tests
per-file-ignores = ["test/*:D100,D101,D102,D103,D104"]
docstring-convention = "google"
inline-quotes = "single"
multiline-quotes = "double"
docstring-quotes = "double"

[tool.pyright]
include = ["ops/*.py", "ops/_private/*.py", "test/*.py", "test/charms/*/src/*.py"]
Expand Down
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ autopep8~=1.6
flake8~=6.1
flake8-docstrings~=1.7
flake8-builtins~=2.1
flake8-quotes~=3.3
pyproject-flake8~=6.1
pep8-naming~=0.13
pytest~=7.2
Expand Down

0 comments on commit 724bd0e

Please sign in to comment.