-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from lsst-sitcom/tickets/DM-40548
DM-40548: Create repository to store testing analysis code for SITCOM
- Loading branch information
Showing
7 changed files
with
107 additions
and
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
check-yaml: true | ||
check-xml: true | ||
black: true | ||
flake8: true | ||
isort: true | ||
mypy: 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
[build-system] | ||
requires = [ "setuptools", "setuptools_scm" ] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "summit-testing-analysis" | ||
description = "Collection of data analysis for summit testing." | ||
license = { text = "GPL" } | ||
classifiers = [ "Programming Language :: Python :: 3" ] | ||
urls = { documentation = "https://jira.lsstcorp.org/secure/Dashboard.jspa", repository = "https://github.com/lsst-sitcom/summit-testing-analysis" } | ||
dynamic = [ "version" ] | ||
|
||
[tools.setuptools] | ||
package-data = { "" = "*.csv"} | ||
|
||
[tool.setuptools.dynamic] | ||
version = { attr = "setuptools_scm.get_version" } | ||
|
||
[tool.setuptools.packages.find] | ||
where = [ "python" ] | ||
|
||
[tool.setuptools_scm] | ||
write_to = "python/lsst/summit/testing/analysis/version.py" | ||
write_to_template = """ | ||
# Generated by setuptools_scm | ||
__all__ = ["__version__"] | ||
__version__ = "{version}" | ||
""" | ||
|
||
[tool.pytest.ini_options] | ||
asyncio_mode = "auto" | ||
|
||
[tool.mypy] | ||
disallow_untyped_defs = "True" | ||
ignore_missing_imports = "True" | ||
exclude = "version.py" | ||
|
||
[tool.isort] | ||
profile = "black" | ||
|
||
[tool.ruff] | ||
exclude = [ | ||
"__init__.py", | ||
] | ||
ignore = [ | ||
"N802", | ||
"N803", | ||
"N806", | ||
"N812", | ||
"N815", | ||
"N816", | ||
"N999", | ||
"D107", | ||
"D105", | ||
"D102", | ||
"D104", | ||
"D100", | ||
"D200", | ||
"D205", | ||
] | ||
line-length = 110 | ||
select = [ | ||
"E", # pycodestyle | ||
"F", # pyflakes | ||
"N", # pep8-naming | ||
"W", # pycodestyle | ||
"D", # pydocstyle | ||
"UP", # pyupgrade | ||
] | ||
target-version = "py311" | ||
extend-select = [ | ||
"RUF100", # Warn about unused noqa | ||
] | ||
|
||
|
||
[tool.ruff.pycodestyle] | ||
max-doc-length = 79 | ||
|
||
|
||
[tool.ruff.pydocstyle] | ||
convention = "numpy" | ||
|
||
[project.optional-dependencies] | ||
dev = [ | ||
"documenteer[pipelines]", | ||
] |
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