Skip to content

Commit 451da4d

Browse files
authored
skpkg: set up scaffold and moved over docs, src, tests, news (#165)
* fix: chagned line length to 115 * chore: move LICENSE files over to scaffold * fix: Fixed issues with pyproject.toml
1 parent 3fec1f8 commit 451da4d

File tree

5 files changed

+13
-10
lines changed

5 files changed

+13
-10
lines changed

.flake8

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# As of now, flake8 does not natively support configuration via pyproject.toml
2+
# https://github.com/microsoft/vscode-flake8/issues/135
13
[flake8]
24
exclude =
35
.git,

.gitignore

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ __pycache__/
1010
.Python
1111
env/
1212
build/
13+
_build/
1314
develop-eggs/
1415
dist/
1516
downloads/
@@ -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/

.isort.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[settings]
2+
# Keep import statement below line_length character limit
23
line_length = 115
34
multi_line_output = 3
45
include_trailing_comma = True
File renamed without changes.

pyproject.toml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ build-backend = "setuptools.build_meta"
66
name = "diffpy.srmise"
77
dynamic=['version', 'dependencies']
88
authors = [
9-
{ name="Simon J.L. Billinge group", email="[email protected]" },
9+
{ name="Simon J.L. Billinge group", email="[email protected]" },
1010
{name="Luke Granlund", email="[email protected]"},
1111
]
1212
maintainers = [
13-
{ name="Simon J.L. Billinge group", email="[email protected]" },
13+
{ name="Simon Billinge", email="[email protected]" },
1414
]
1515
description = "Peak extraction and peak fitting tool for atomic pair distribution functions."
16-
keywords = ['peak extraction fitting PDF AIC multimodeling']
16+
keywords = ['peak extraction', 'fitting', 'PDF', 'AIC', 'multimodeling']
1717
readme = "README.rst"
1818
requires-python = ">=3.11, <3.14"
1919
classifiers = [
@@ -33,6 +33,7 @@ classifiers = [
3333
'Topic :: Scientific/Engineering :: Physics',
3434
'Topic :: Scientific/Engineering :: Chemistry',
3535
'Topic :: Software Development :: Libraries',
36+
3637
]
3738

3839
[project.urls]
@@ -62,6 +63,11 @@ exclude-file = ".codespell/ignore_lines.txt"
6263
ignore-words = ".codespell/ignore_words.txt"
6364
skip = "*.cif,*.dat"
6465

66+
[tool.docformatter]
67+
recursive = true
68+
wrap-summaries = 72
69+
wrap-descriptions = 72
70+
6571
[tool.black]
6672
line-length = 115
6773
include = '\.pyi?$'

0 commit comments

Comments
 (0)