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 1
1
name : Tests on PR
2
2
3
3
on :
4
- push :
5
- branches :
6
- - main
7
4
pull_request :
8
5
workflow_dispatch :
9
6
10
7
jobs :
11
8
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
13
10
with :
14
11
project : diffpy.morph
15
12
c_extension : false
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ __pycache__/
10
10
.Python
11
11
env /
12
12
build /
13
+ _build /
13
14
develop-eggs /
14
15
dist /
15
16
downloads /
@@ -90,10 +91,3 @@ target/
90
91
91
92
# Ipython Notebook
92
93
.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:
50
50
- id : codespell
51
51
additional_dependencies :
52
52
- 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 1
1
sphinx
2
2
sphinx_rtd_theme
3
+ sphinx-copybutton
3
4
doctr
4
5
m2r
Original file line number Diff line number Diff line change 2
2
pytest
3
3
codecov
4
4
coverage
5
- pytest-env
6
5
pytest-cov
6
+ pytest-env
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python
2
2
##############################################################################
3
3
#
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.
5
5
# All rights reserved.
6
6
#
7
7
# File coded by: Billinge Group members and community contributors.
8
8
#
9
9
# 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
11
11
#
12
12
# See LICENSE.rst for license information.
13
13
#
14
14
##############################################################################
15
15
"""morph - tools for manipulating and comparing PDF data.
16
-
17
16
"""
18
17
19
18
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python
2
2
##############################################################################
3
3
#
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.
5
5
# All rights reserved.
6
6
#
7
- # File coded by: Billinge Group members and community contributors .
7
+ # File coded by: Sangjoon Lee, Simon Billinge, Billinge Group members .
8
8
#
9
9
# See GitHub contributions for a more detailed list of contributors.
10
10
# https://github.com/diffpy/diffpy.morph/graphs/contributors
11
11
#
12
12
# See LICENSE.rst for license information.
13
13
#
14
14
##############################################################################
15
- """Tools for manipulating and comparing PDF profiles."""
15
+ """Python package for manipulating and comparing PDF profiles."""
16
16
17
17
# key used when saving multiple morphs
18
18
__save_morph_as__ = "save_morph_as"
19
19
20
20
# package version
21
- from diffpy .morph .version import __version__
21
+ from diffpy .morph .version import __version__ # noqa
22
22
23
23
# silence the pyflakes syntax checker
24
24
assert __version__ or True
25
25
26
-
27
26
# End of file
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python
2
2
##############################################################################
3
3
#
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.
5
5
# All rights reserved.
6
6
#
7
- # File coded by: Billinge Group members and community contributors .
7
+ # File coded by: Sangjoon Lee, Simon Billinge, Billinge Group members .
8
8
#
9
9
# 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
11
11
#
12
12
# See LICENSE.rst for license information.
13
13
#
Original file line number Diff line number Diff line change 1
1
"""Unit tests for __version__.py."""
2
2
3
- import diffpy .morph
3
+ import diffpy .morph # noqa
4
4
5
5
6
6
def test_package_version ():
You can’t perform that action at this time.
0 commit comments