File tree Expand file tree Collapse file tree 10 files changed +28
-26
lines changed
Expand file tree Collapse file tree 10 files changed +28
-26
lines changed Original file line number Diff line number Diff line change 11name : Tests on PR
22
33on :
4- push :
5- branches :
6- - main
74 pull_request :
85 workflow_dispatch :
96
107jobs :
118 tests-on-pr :
12- uses : Billingegroup /release-scripts/.github/workflows/_tests-on-pr.yml@v0
9+ uses : scikit-package /release-scripts/.github/workflows/_tests-on-pr.yml@v0
1310 with :
1411 project : diffpy.morph
1512 c_extension : false
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ __pycache__/
1010.Python
1111env /
1212build /
13+ _build /
1314develop-eggs /
1415dist /
1516downloads /
@@ -90,10 +91,3 @@ target/
9091
9192# Ipython Notebook
9293.ipynb_checkpoints
93-
94- # version information
95- setup.cfg
96- /src /diffpy /* /version.cfg
97-
98- # Rever
99- rever /
Original file line number Diff line number Diff line change @@ -50,3 +50,17 @@ repos:
5050 - id : codespell
5151 additional_dependencies :
5252 - tomli
53+ # prettier - multi formatter for .json, .yml, and .md files
54+ - repo : https://github.com/pre-commit/mirrors-prettier
55+ rev : f12edd9c7be1c20cfa42420fd0e6df71e42b51ea # frozen: v4.0.0-alpha.8
56+ hooks :
57+ - id : prettier
58+ additional_dependencies :
59+ - " prettier@^3.2.4"
60+ # docformatter - PEP 257 compliant docstring formatter
61+ - repo : https://github.com/s-weigand/docformatter
62+ rev : 5757c5190d95e5449f102ace83df92e7d3b06c6c
63+ hooks :
64+ - id : docformatter
65+ additional_dependencies : [tomli]
66+ args : [--in-place, --config, ./pyproject.toml]
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11sphinx
22sphinx_rtd_theme
3+ sphinx-copybutton
34doctr
45m2r
Original file line number Diff line number Diff line change 22pytest
33codecov
44coverage
5- pytest-env
65pytest-cov
6+ pytest-env
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
22##############################################################################
33#
4- # (c) 2024 The Trustees of Columbia University in the City of New York.
4+ # (c) 2025 The Trustees of Columbia University in the City of New York.
55# All rights reserved.
66#
77# File coded by: Billinge Group members and community contributors.
88#
99# See GitHub contributions for a more detailed list of contributors.
10- # https://github.com/diffpy/diffpy.pdfmorph /graphs/contributors
10+ # https://github.com/diffpy/diffpy.morph /graphs/contributors
1111#
1212# See LICENSE.rst for license information.
1313#
1414##############################################################################
1515"""morph - tools for manipulating and comparing PDF data.
16-
1716"""
1817
1918
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
22##############################################################################
33#
4- # (c) 2024 The Trustees of Columbia University in the City of New York.
4+ # (c) 2025 The Trustees of Columbia University in the City of New York.
55# All rights reserved.
66#
7- # File coded by: Billinge Group members and community contributors .
7+ # File coded by: Sangjoon Lee, Simon Billinge, Billinge Group members .
88#
99# See GitHub contributions for a more detailed list of contributors.
1010# https://github.com/diffpy/diffpy.morph/graphs/contributors
1111#
1212# See LICENSE.rst for license information.
1313#
1414##############################################################################
15- """Tools for manipulating and comparing PDF profiles."""
15+ """Python package for manipulating and comparing PDF profiles."""
1616
1717# key used when saving multiple morphs
1818__save_morph_as__ = "save_morph_as"
1919
2020# package version
21- from diffpy .morph .version import __version__
21+ from diffpy .morph .version import __version__ # noqa
2222
2323# silence the pyflakes syntax checker
2424assert __version__ or True
2525
26-
2726# End of file
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
22##############################################################################
33#
4- # (c) 2024 The Trustees of Columbia University in the City of New York.
4+ # (c) 2025 The Trustees of Columbia University in the City of New York.
55# All rights reserved.
66#
7- # File coded by: Billinge Group members and community contributors .
7+ # File coded by: Sangjoon Lee, Simon Billinge, Billinge Group members .
88#
99# See GitHub contributions for a more detailed list of contributors.
10- # https://github.com/diffpy/diffpy.pdfmorph /graphs/contributors
10+ # https://github.com/diffpy/diffpy.morph /graphs/contributors # noqa: E501
1111#
1212# See LICENSE.rst for license information.
1313#
Original file line number Diff line number Diff line change 11"""Unit tests for __version__.py."""
22
3- import diffpy .morph
3+ import diffpy .morph # noqa
44
55
66def test_package_version ():
You can’t perform that action at this time.
0 commit comments