Publish the package and its documentation, and move to the papers organization
Add the Zensical documentation of the Python package (docs/package, built by the docs workflow), merge the standard publish workflow with the setuptools-scm tag check, add the SPDX header rule to ruff, restructure the README, and point every repository and registry address at the Gitea organization papers. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B8cL4zN4XpaQF5cBtASzfq
This commit is contained in:
37 files changed
+1005
-83
No files matched your search
@@ -47,6 +47,7 @@ select = [
|
||||
"PIE", # misc lints
|
||||
"INP", # implicit namespace packages
|
||||
"RUF", # ruff-specific
|
||||
"CPY001", # every Python file opens with the license header (preview rule, so selected by code)
|
||||
]
|
||||
ignore = [
|
||||
"D105", # magic-method docstrings
|
||||
@@ -90,6 +91,11 @@ dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
|
||||
"**/__init__.py" = ["F401"] # re-exports
|
||||
"src/paperspec/cli/*.py" = ["T201"] # paperspec-specific: the commands are a package, and they print by design
|
||||
|
||||
[lint.flake8-copyright]
|
||||
# paperspec-specific: the code is Apache-2.0 (LICENSE.md), not Prosperity, so the header is an SPDX identifier.
|
||||
notice-rgx = "SPDX-License-Identifier: Apache-2\\.0"
|
||||
min-file-size = 0
|
||||
|
||||
[lint.pycodestyle]
|
||||
# The formatter wraps code at 88; allow unbreakable strings/URLs up to 100.
|
||||
max-line-length = 100
|
||||
|
||||
Reference in new issue
Block a user