Skip to content

Commit

Permalink
Merge branch 'main' into corpusbuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
bvreede committed Apr 7, 2023
2 parents d843572 + 01e501f commit e430680
Show file tree
Hide file tree
Showing 23 changed files with 195 additions and 295 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ current_version = 0.1.0
[comment]
comment = The contents of this file cannot be merged with that of setup.cfg until https://github.com/c4urself/bump2version/issues/185 is resolved

[bumpversion:file:scikit-talk/__init__.py]
[bumpversion:file:sktalk/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"

Expand Down
9 changes: 6 additions & 3 deletions .githooks/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/sh

### To enable this githook, run:
### git config --local core.hooksPath .githooks

echo "Script $0 triggered ..."

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Expand All @@ -17,13 +20,13 @@ fi
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
echo "Starting isort analysis using configuration from setup.cfg..."

# recursively run isort on scikit-talk/ directory, don't try to automatically fix anything
isort --recursive --check-only scikit-talk
# recursively run isort on sktalk/ directory, don't try to automatically fix anything
isort --check-only sktalk

if [ $? != "0" ]; then
echo "Commit aborted."
echo " Run 'isort --check-only --diff scikit-talk' to see what's wrong."
echo " Run 'isort scikit-talk' to let isort fix problems automatically."
echo " Run 'isort sktalk' to let isort fix problems automatically."
exit 1
fi

Expand Down
16 changes: 0 additions & 16 deletions .github/next_steps/01_sonarcloud_integration.md

This file was deleted.

43 changes: 0 additions & 43 deletions .github/next_steps/02_citation.md

This file was deleted.

20 changes: 0 additions & 20 deletions .github/next_steps/03_readthedocs.md

This file was deleted.

22 changes: 0 additions & 22 deletions .github/next_steps/04_zenodo_integration.md

This file was deleted.

17 changes: 0 additions & 17 deletions .github/next_steps/05_linting.md

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
os: ['ubuntu-latest', 'windows-latest']
python-version: ['3.7', '3.10']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down Expand Up @@ -61,4 +61,4 @@ jobs:
- name: Check style against standards using prospector
run: prospector
- name: Check import order
run: isort --check-only scikit-talk --diff
run: isort --check-only sktalk --diff
22 changes: 10 additions & 12 deletions .github/workflows/cffconvert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,18 @@ name: cffconvert

on:
push:
branches:
- main
pull_request:
branches:
- main
paths:
- CITATION.cff

jobs:

verify:
name: "cffconvert"
validate:
name: "validate"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: Check out a copy of the repository
- name: Check out a copy of the repository
uses: actions/checkout@v2

- uses: citation-file-format/cffconvert-github-action@main
name: Check whether the citation metadata from CITATION.cff is equivalent to that in .zenodo.json
- name: Check whether the citation metadata from CITATION.cff is valid
uses: citation-file-format/cffconvert-github-action@2.0.0
with:
args: "--validate"
20 changes: 0 additions & 20 deletions .github/workflows/markdown-link-check.yml

This file was deleted.

59 changes: 0 additions & 59 deletions .github/workflows/next_steps.yml

This file was deleted.

26 changes: 21 additions & 5 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,29 @@ authors:
-
family-names: Vreede
given-names: Barbara
orcid: "https://orcid.org/0000-0000-0000-0000"
date-released: 20??-MM-DD
orcid: "https://orcid.org/0000-0002-5023-4601"
-
family-names: Liesenfeld
given-names: Andreas
orcid: "https://orcid.org/0000-0001-6076-4406"
-
family-names: Gabor
given-names: Parti
-
family-names: Viviani
given-names: Eva
orcid: "https://orcid.org/0000-0002-1330-0585"
-
family-names: Dingemanse
given-names: Mark
orcid: "https://orcid.org/0000-0002-3290-5723"
date-released: 2023-MM-DD
doi: <insert your DOI here>
version: "0.1.0"
repository-code: "git@github.com:elpaco-escience/scikit-talk"
repository-code: "https://github.com/elpaco-escience/scikit-talk"
keywords:
- conversation
- keyword2
- conversation
- language corpora
- turn-taking
message: "If you use this software, please cite it using these metadata."
license: Apache-2.0
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@
| Coverage | [![workflow scc badge](https://sonarcloud.io/api/project_badges/measure?project=elpaco-escience_scikit-talk&metric=coverage)](https://sonarcloud.io/dashboard?id=elpaco-escience_scikit-talk) |
| Documentation | [![Documentation Status](https://readthedocs.org/projects/scikit-talk/badge/?version=latest)](https://scikit-talk.readthedocs.io/en/latest/?badge=latest) |
| **GitHub Actions** | &nbsp; |
| Build | [![build](git@github.com:elpaco-escience/scikit-talk/actions/workflows/build.yml/badge.svg)](git@github.com:elpaco-escience/scikit-talk/actions/workflows/build.yml) |
| Citation data consistency | [![cffconvert](git@github.com:elpaco-escience/scikit-talk/actions/workflows/cffconvert.yml/badge.svg)](git@github.com:elpaco-escience/scikit-talk/actions/workflows/cffconvert.yml) |
| SonarCloud | [![sonarcloud](git@github.com:elpaco-escience/scikit-talk/actions/workflows/sonarcloud.yml/badge.svg)](git@github.com:elpaco-escience/scikit-talk/actions/workflows/sonarcloud.yml) |
| MarkDown link checker | [![markdown-link-check](git@github.com:elpaco-escience/scikit-talk/actions/workflows/markdown-link-check.yml/badge.svg)](git@github.com:elpaco-escience/scikit-talk/actions/workflows/markdown-link-check.yml) |
| Build | [![build](https://github.com/elpaco-escience/scikit-talk/actions/workflows/build.yml/badge.svg)](https://github.com/elpaco-escience/scikit-talk/actions/workflows/build.yml) |
| SonarCloud | [![sonarcloud](https://github.com/elpaco-escience/scikit-talk/actions/workflows/sonarcloud.yml/badge.svg)](https://github.com/elpaco-escience/scikit-talk/actions/workflows/sonarcloud.yml) |
| Citation data consistency | [![cffconvert](https://github.com/elpaco-escience/scikit-talk/actions/workflows/cffconvert.yml/badge.svg)](https://github.com/elpaco-escience/scikit-talk/actions/workflows/cffconvert.yml) |




## How to use scikit-talk

Expand Down
19 changes: 10 additions & 9 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@

# -- Use autoapi.extension to run sphinx-apidoc -------

autoapi_dirs = ['../scikit-talk']
autoapi_dirs = ['../sktalk']

# -- Options for HTML output ----------------------------------------------

Expand All @@ -78,11 +78,12 @@

# -- Options for Intersphinx

intersphinx_mapping = {'python': ('https://docs.python.org/3', None),
# Commonly used libraries, uncomment when used in package
# 'numpy': ('http://docs.scipy.org/doc/numpy/', None),
# 'scipy': ('http://docs.scipy.org/doc/scipy/reference/', None),
# 'scikit-learn': ('https://scikit-learn.org/stable/', None),
# 'matplotlib': ('https://matplotlib.org/stable/', None),
# 'pandas': ('http://pandas.pydata.org/docs/', None),
}
intersphinx_mapping = {
'python': ('https://docs.python.org/3', None),
# Commonly used libraries, uncomment when used in package
# 'numpy': ('http://docs.scipy.org/doc/numpy/', None),
# 'scipy': ('http://docs.scipy.org/doc/scipy/reference/', None),
# 'scikit-learn': ('https://scikit-learn.org/stable/', None),
# 'matplotlib': ('https://matplotlib.org/stable/', None),
# 'pandas': ('http://pandas.pydata.org/docs/', None),
}

0 comments on commit e430680

Please sign in to comment.