Skip to content

Conversation

HGWright
Copy link

🚀 Pull Request

Description

#---------
# SECTION: requirements
prune requirements
recursive-include requirements *.yml
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

YAML files are specifically the ones that we don't want to be included. I appreciate that there are no .txt files currently but we would want to include those were they ever added.

# hints:
# - not all projects include requirements, but they can be drawn in anyway by dynamic dependencies
# in the setuptools build process, linked via config in pyproject.toml
# - for some repos, the *.txt are actually lockfiles. This probably needs fixing.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SciTools/.github#181 removes this line, if you wanted to align with that now?

Comment on lines +28 to +36
#---------
# SECTION: docs
prune docs
# and if required ... include ONLY docs source files.
# E.G. recursive-include docs *.rst *.inc
# principles:
# - use prune to ignore everything (optionally: except the docs sources)
# hints:
# - most projects don't want to package the docs, but some currently do (cf-units).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SciTools/.github#181 makes changes to the docs entry, if you wanted to align with that now?

exclude CODE_OF_CONDUCT.md
include COPYING
include COPYING.LESSER
include environment.yml
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be excluded, if the template is to be believed.

This should be in a tephi-specific section at the bottom.

include .git-blame-ignore-revs
exclude Makefile
exclude codecov.yml
include noxfile.py
include tox.ini
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be in a Tephi-specific section at the bottom.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update: SciTools/.github#183; need to port those changes into here

prune .coverage
# (2) top-level files to omit
exclude .coveragerc
exclude index.ipynb
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be in a Tephi-specific section at the bottom.

@trexfeathers
Copy link
Contributor

@ESadek-MO can you explain why this is failing the tests?

@ESadek-MO
Copy link
Contributor

CI should be fixed with #219

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

3 participants