-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Support HOOMD 5 build configuration * Add new required method to anisotropic pair potentials * Update readthedocs environment * Run pre-commit on all files * Cleanup automock list
- Loading branch information
Showing
20 changed files
with
230 additions
and
227 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
include = ["*.py"] | ||
extend-exclude = [".git", | ||
"__pycache__", | ||
"build", | ||
] | ||
line-length = 88 | ||
indent-width = 4 | ||
|
||
[lint] | ||
select = [ | ||
"E", | ||
"F", | ||
"N", | ||
"W", | ||
"D", | ||
"NPY", | ||
"RUF", | ||
] | ||
ignore = [ | ||
"D105", # Magic methods don't require documentation | ||
"D107", # do not document __init__ separately from the class | ||
"D301", # Allow backslashes in docstrings | ||
"D205", "D415", # Allow no summary line. The rendered Sphinx documentation is cleaner without them. | ||
"N816", "N806","N803", # allow occasional use of uppercase variable and argument names | ||
"D214", # ignore overindented sections in Trigger - this is Google napoleon formatting | ||
"RUF012", # hoomd does not use typing annotations | ||
"NPY002", # TODO: refactor tests to use modern numpy Generator API. | ||
] | ||
|
||
[lint.pydocstyle] | ||
convention = "google" | ||
|
||
[lint.per-file-ignores] | ||
# allow unused imports in init files | ||
"__init__.py" = ["F401"] | ||
# do not require docstrings in unit test or documentation example files | ||
"**/pytest/*" = ["D", "F811", "N999"] | ||
|
||
[format] | ||
indent-style = "space" | ||
line-ending = "auto" | ||
docstring-code-line-length = 72 | ||
docstring-code-format = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,4 @@ | |
|
||
from hoomd.azplugins import bond, flow, pair | ||
|
||
__version__ = '1.0.0' | ||
__version__ = "1.0.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.