Skip to content

Commit

Permalink
fix: adding version and ignoring init file for f401
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlangrose committed Feb 8, 2024
1 parent 605c40a commit db6ac5b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions map2loop/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from .project import Project
from .version import __version__

__all__ = ["Project"]
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ quiet-level = 3

[tool.ruff]
exclude = ['.git', 'pycache__', 'build', 'dist', 'doc/examples', 'doc/_build']
external = ["E131", "D102", "D105"]
line-length = 100
indent-width = 4
target-version = 'py39'

[tool.ruff.lint]
external = ["E131", "D102", "D105"]
ignore = [
# whitespace before ':'
"E203",
Expand Down Expand Up @@ -74,3 +74,5 @@ extend-select = ["B007", "B010", "C4", "F", "NPY", "PGH004", "RSE", "RUF100"]

[tool.ruff.lint.flake8-comprehensions]
allow-dict-calls-with-keyword-arguments = true
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]

0 comments on commit db6ac5b

Please sign in to comment.