-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cookiecutter: modified files pt1 #153
Closed
+381
−436
Closed
Changes from 25 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
e286ea6
remove setup.py
cadenmyers13 323c58f
.codecov.yml, .coveragerc, .gitattributes, .gitignore
cadenmyers13 ce7ad1b
CHANGELOG.rst, MANIFEST.in, pyproject.toml
cadenmyers13 368cfbf
README.rst
cadenmyers13 42f460b
README.rst
cadenmyers13 88b2ebc
docs.yml and main.yml
cadenmyers13 0a4a8dd
copyright updates
cadenmyers13 06b1b4c
v3 to v4
cadenmyers13 a1be5c1
deprecation_fix
Sparks29032 e558c83
Daemon warnings
Sparks29032 6e9396e
pre-commit
Sparks29032 73a5f1c
add pytest.ini
Sparks29032 64736f8
Fix matplotlib warnings
Sparks29032 12ccaac
Merge pull request #1 from Sparks29032/mod_test
cadenmyers13 7e15d16
Create build.txt
Sparks29032 f97ddb3
Update main.yml
Sparks29032 4040d89
Update run.txt
Sparks29032 8cb522d
Update main.yml
Sparks29032 aa00fc5
Delete requirements/build.txt
Sparks29032 de04206
Update run.txt
Sparks29032 cf881e6
Merge pull request #2 from Sparks29032/patch-1
cadenmyers13 ee45919
Merge branch 'cookie' into mod_test
cadenmyers13 bb9fad3
change np.array() to np.asarray()
cadenmyers13 3bf9313
limiting pdfgui to python=3.11
cadenmyers13 5ea048c
fix syntax
cadenmyers13 720c1d5
python >=3.10
cadenmyers13 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,34 @@ | ||
fixes: | ||
- ".*/site-packages/::src/" | ||
# codecov can find this file anywhere in the repo, so we don't need to clutter | ||
# the root folder. | ||
#comment: false | ||
|
||
codecov: | ||
notify: | ||
require_ci_to_pass: no | ||
|
||
coverage: | ||
status: | ||
patch: | ||
default: | ||
target: '70' | ||
if_no_uploads: error | ||
if_not_found: success | ||
if_ci_failed: failure | ||
project: | ||
default: false | ||
library: | ||
target: auto | ||
if_no_uploads: error | ||
if_not_found: success | ||
if_ci_failed: error | ||
paths: '!*/tests/.*' | ||
|
||
tests: | ||
target: 97.9% | ||
paths: '*/tests/.*' | ||
if_not_found: success | ||
|
||
flags: | ||
tests: | ||
paths: | ||
- tests/ |
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 |
---|---|---|
@@ -1,22 +1,13 @@ | ||
# Configuration of the coverage.py tool for reporting test coverage. | ||
|
||
[report] | ||
# RE patterns for lines to be excluded from consideration. | ||
exclude_lines = | ||
# Have to re-enable the standard pragma | ||
pragma: no cover | ||
# Don't complain if tests don't hit defensive assertion code: | ||
raise AssertionError | ||
raise NotImplementedError | ||
^[ ]*assert False | ||
|
||
# Don't complain if non-runnable code isn't run: | ||
^[ ]*@unittest.skip\b | ||
^[ ]{4}unittest.main() | ||
if __name__ == .__main__.: | ||
|
||
|
||
[run] | ||
source = | ||
diffpy.pdfgui | ||
[report] | ||
omit = | ||
# exclude debug.py from codecov report | ||
*/tests/debug.py | ||
*/python?.?/* | ||
*/site-packages/nose/* | ||
# ignore _version.py and versioneer.py | ||
.*version.* | ||
*_version.py | ||
|
||
exclude_lines = | ||
if __name__ == '__main__': |
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 |
---|---|---|
@@ -1,7 +1 @@ | ||
/.gitattributes export-ignore | ||
/.gitignore export-ignore | ||
/.travis.yml export-ignore | ||
/conda-recipe/ export-ignore | ||
/devutils export-ignore | ||
.gitarchive.cfg export-subst | ||
*.bat text eol=crlf | ||
diffpy.pdfgui/_version.py export-subst |
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 |
---|---|---|
@@ -1,44 +1,99 @@ | ||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] | ||
*$py.class | ||
|
||
# C extensions | ||
*.so | ||
|
||
# Packages | ||
*.egg | ||
*.egg-info | ||
dist | ||
build | ||
eggs | ||
parts | ||
bin | ||
var | ||
sdist | ||
temp | ||
develop-eggs | ||
# Distribution / packaging | ||
.Python | ||
env/ | ||
build/ | ||
develop-eggs/ | ||
dist/ | ||
downloads/ | ||
eggs/ | ||
.eggs/ | ||
lib/ | ||
lib64/ | ||
parts/ | ||
sdist/ | ||
var/ | ||
venv/ | ||
*.egg-info/ | ||
.installed.cfg | ||
lib | ||
lib64 | ||
tags | ||
*.egg | ||
bin/ | ||
temp/ | ||
tags/ | ||
errors.err | ||
.idea | ||
|
||
# PyInstaller | ||
# Usually these files are written by a python script from a template | ||
# before PyInstaller builds the exe, so as to inject date/other infos into it. | ||
*.manifest | ||
*.spec | ||
|
||
# Installer logs | ||
pip-log.txt | ||
pip-delete-this-directory.txt | ||
MANIFEST | ||
|
||
# Unit test / coverage reports | ||
htmlcov/ | ||
.tox/ | ||
.coverage | ||
.tox | ||
.coverage.* | ||
.cache | ||
nosetests.xml | ||
coverage.xml | ||
*,cover | ||
.hypothesis/ | ||
|
||
# Translations | ||
*.mo | ||
*.pot | ||
|
||
# Mr Developer | ||
.mr.developer.cfg | ||
.project | ||
.pydevproject | ||
|
||
# Django stuff: | ||
*.log | ||
|
||
# Sphinx documentation | ||
docs/build/ | ||
docs/source/generated/ | ||
|
||
# pytest | ||
.pytest_cache/ | ||
|
||
# PyBuilder | ||
target/ | ||
|
||
# Editor files | ||
# mac | ||
.DS_Store | ||
*~ | ||
|
||
# vim | ||
*.swp | ||
*.swo | ||
|
||
# pycharm | ||
.idea/ | ||
|
||
# VSCode | ||
.vscode/ | ||
|
||
# Ipython Notebook | ||
.ipynb_checkpoints | ||
|
||
# version information | ||
setup.cfg | ||
/src/diffpy/*/version.cfg | ||
|
||
# Rever | ||
rever/ |
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 |
---|---|---|
@@ -1,23 +1,14 @@ | ||
recursive-include src * | ||
recursive-exclude src *.py[co] | ||
include AUTHORS.txt LICENSE*.txt README* | ||
recursive-include doc * | ||
prune doc/epydoc | ||
prune doc/manual/images/originals | ||
exclude doc/manual/images/*.pdf | ||
recursive-exclude doc/manual Makefile *.py *.texinfo | ||
recursive-exclude doc/manual *.aux *.cp *.cps *.err *.log *.toc *.vr *.vrs | ||
recursive-include icons *.png *.ico | ||
recursive-exclude icons *.m *.xcf | ||
global-exclude .gitattributes .gitignore .gitarchive.cfg | ||
global-exclude .DS_Store | ||
include AUTHORS.rst | ||
include LICENSE | ||
include README.rst | ||
include requirements.txt | ||
|
||
# Avoid user content in setup.cfg to make distribution reproducible. | ||
exclude setup.cfg | ||
recursive-exclude * __pycache__ | ||
recursive-exclude * *.py[co] | ||
|
||
# Exclude git-tracked files spuriously added by setuptools_scm | ||
exclude .coveragerc | ||
exclude .travis* | ||
prune conda-recipe | ||
prune devutils | ||
#prune doc | ||
recursive-include docs *.rst conf.py Makefile make.bat | ||
|
||
include diffpy.pdfgui/version.py | ||
|
||
# If including data files in the package, add them like: | ||
# include path/to/data_file |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we will need this xvfb action for the wx.
This PR is getting the tests to pass and will take some work, so put all the workflow work on a separate PR. I had it working before with the mamba stuff and we may need to do it that way, but let's try and get as far as we can with the cookiecutter version, then see if we can the xvfb action to work. WHen I was doing it before, it couldn't activate the conda environment for some reason. Let's work on this on a separate PR.