You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Added linting workflow, hopefully it works
* Testing linting workflow again
* New Branch for Linting Workflow
* Testing Linting workflow
* Allowing Lint.YML to run on push to linting_workflow
* Testing pre-commit and updated lint.yml to disregard legacy files
* disable fail-fast to see if other python versions will fail
* Using uv to install ruff dependency, using uv-cache and removing pip installation
* added new action to install virtual environment before attempting to install dependency
* Fixed missing run for uv venv
* attempting ruff check again now that is seems to work...
* Trying uvx
* Removed assume python 3.9 from ruff config in pyproject.toml
* New Branch for Linting Workflow
* Testing Linting workflow
* (after rebase) Allowing Lint.YML to run on push to linting_workflow
* Testing pre-commit and updated lint.yml to disregard legacy files
* disable fail-fast to see if other python versions will fail
* Using uv to install ruff dependency, using uv-cache and removing pip installation
* added new action to install virtual environment before attempting to install dependency
* Fixed missing run for uv venv
* attempting ruff check again now that is seems to work...
* (after rebase) Trying uvx
* Removed assume python 3.9 from ruff config in pyproject.toml
* fixing typos after rebase
* Installing Ruff before calling check; added precommit to uvlock
* Added verbose keyword to make clear that files are being checked
* Attempting to revert src/ tests/ and .gitignore to master current ver
* Readded release and testing default workflows to match master
* Readd changelog to match master
* restored old version of gitignore
* Fixing PR comments
* fix
* added mypy and ruff to a dependency group called lint
---------
Co-authored-by: Tyler Mathis <35553152+tsmathis@users.noreply.github.com>
# Exclude a variety of commonly ignored directories.
49
+
exclude = [
50
+
"legacy",
51
+
"notebooks",
52
+
"uv.lock"
53
+
]
54
+
55
+
# Same as Black.
56
+
line-length = 88
57
+
indent-width = 4
58
+
59
+
[tool.ruff.lint]
60
+
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
61
+
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
62
+
# McCabe complexity (`C901`) by default.
63
+
select = ["E4", "E7", "E9", "F"]
64
+
ignore = []
65
+
66
+
# Allow fix for all enabled rules (when `--fix`) is provided.
67
+
fixable = ["ALL"]
68
+
unfixable = []
69
+
70
+
# Allow NO unused variables to exist in the codebase. If underscore-prefixed unused variables are permissible, use this regex $^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
71
+
dummy-variable-rgx = "^$"
72
+
73
+
[tool.ruff.format]
74
+
# Like Black, use double quotes for strings.
75
+
quote-style = "double"
76
+
77
+
# Like Black, indent with spaces, rather than tabs.
78
+
indent-style = "space"
79
+
80
+
# Like Black, respect magic trailing commas.
81
+
skip-magic-trailing-comma = false
82
+
83
+
# Like Black, automatically detect the appropriate line ending.
84
+
line-ending = "auto"
85
+
86
+
# Enable auto-formatting of code examples in docstrings. Markdown,
87
+
# reStructuredText code/literal blocks and doctests are all supported.
88
+
#
89
+
# This is currently disabled by default, but it is planned for this
90
+
# to be opt-out in the future.
91
+
docstring-code-format = false
92
+
93
+
# Set the line length limit used when formatting code snippets in
94
+
# docstrings.
95
+
#
96
+
# This only has an effect when the `docstring-code-format` setting is
0 commit comments