Skip to content

Commit

Permalink
Changes in the cookiecutter toml file (#383)
Browse files Browse the repository at this point in the history
* Changes the cookiecutter toml file

* updated git

* update based on cookiecutter

* removed rej files

* cleaned up workflow
  • Loading branch information
hrshdhgd authored Jun 21, 2023
1 parent 515624a commit a983827
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 22 deletions.
4 changes: 2 additions & 2 deletions .cruft.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"template": "https://github.com/monarch-initiative/monarch-project-template.git",
"commit": "7a5148b11fd6f4f70da7ef921789e0d5fe720e01",
"commit": "4a7682b439c90d913390d1ca7d930a88055a22d3",
"checkout": null,
"context": {
"cookiecutter": {
"project_name": "sssom-py",
"github_org_name": "mapping-commons",
"__project_slug": "sssom",
"__project_slug": "sssom_py",
"project_description": "SSSOM (Simple Standard for Sharing Ontology Mappings) is a TSV and RDF/OWL standard for ontology mappings.",
"min_python_version": "3.7",
"file_name": "main",
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

- name: Install dependencies.
run: |
poetry install --extras docs
poetry install --with docs
- name: Build documentation.
run: |
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/qc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ jobs:
pip install poetry==1.3.2
- name: Install dependencies
run: |
poetry install --extras tests
poetry add tox
run: poetry install

- name: Check code quality with flake8
run: poetry run tox -e flake8
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -156,4 +156,5 @@ schema/sssom.schema.json
schema/sssom.yaml
schema/sssom_datamodel.py
sssom/internal_context.py
sssom/sssom_datamodel.py
sssom/sssom_datamodel.py
*.rej
6 changes: 1 addition & 5 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 5 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ scipy = "^1.10.1"
[tool.poetry.group.dev.dependencies]
pytest = {version = ">=7.1.2"}
tox = {version = ">=3.25.1"}

[tool.poetry.group.docs]
optional = true

[tool.poetry.group.docs.dependencies]
sphinx = {version = ">=6.1.3"}
sphinx-rtd-theme = {version = ">=1.0.0"}
sphinx-autodoc-typehints = {version = ">=1.2.0"}
Expand All @@ -40,16 +45,6 @@ myst-parser = {version = ">=0.18.1"}
[tool.poetry.scripts]
sssom = "sssom.cli:main"

[tool.poetry.extras]
docs = [
"sphinx",
"sphinx-rtd-theme",
"sphinx-autodoc-typehints",
"sphinx-click",
"myst-parser",
]
tests = ["pytest", "tox"]

[tool.poetry-dynamic-versioning]
enable = false
vcs = "git"
Expand Down

0 comments on commit a983827

Please sign in to comment.