Skip to content

Commit

Permalink
style: format non-python files
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniBodor committed Jan 22, 2024
1 parent 054c7d3 commit 7dc2526
Show file tree
Hide file tree
Showing 32 changed files with 853 additions and 809 deletions.
22 changes: 11 additions & 11 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
---
name: Bug report
about: Create a report to help us improve
title: 'Bug: <please fill here>'
labels: 'bug'
assignees: ''

title: "Bug: <please fill here>"
labels: "bug"
assignees: ""
---

**Describe the bug**
A clear and concise description of what the bug is.

**Environment:**

- OS system:
- Version:
- Branch commit ID:
- Branch commit ID:
- Inputs:

**To Reproduce**
Steps/commands/screenshots to reproduce the behaviour:
1.
2.
3.

1.

2.

3.

**Expected Results**
A clear and concise description of what you expected to happen.
Expand Down
10 changes: 5 additions & 5 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
name: Feature request
about: Suggest an idea for this project
title: 'Add/edit'
labels: 'feature'
assignees: ''

title: "Add/edit"
labels: "feature"
assignees: ""
---

**Is your feature request related to a problem? Please describe.**
Expand All @@ -20,7 +19,8 @@ A clear and concise description of any alternative solutions or features you've
Add any other context or screenshots about the feature request here.

**Checks for the developer**
After having implemented the request, please remember to:
After having implemented the request, please remember to:

- [ ] Add all the necessary tests. Make sure that the parameter functionality is well tested, from all points of views.
- [ ] Add the proper documentation to the source code (docstrings).
- [ ] Add the proper documentation to the readme. Examples about how using the new feature should be clear and easy to follow.
8 changes: 3 additions & 5 deletions .github/actions/install-python-and-package/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: "Install Python and deeprank2"
description: "Installs Python, updates pip and installs deeprank2 together with its dependencies."

inputs:

python-version:
required: false
description: "The Python version to use. Specify major and minor version, e.g. '3.10'."
Expand All @@ -15,14 +14,13 @@ inputs:
default: "test"

runs:

using: "composite"

steps:
- name: Cancel Previous Runs and Set up Python
uses: styfle/cancel-workflow-action@0.4.0
with:
access_token: ${{ github.token }}
access_token: ${{ github.token }}
- uses: actions/checkout@v3
- name: Setup conda
uses: s-weigand/setup-conda@v1
Expand All @@ -43,7 +41,7 @@ runs:
CMAKE_INSTALL_PREFIX: .local
if: runner.os == 'Linux'
run: |
# Install dependencies not handled by setuptools
# Install dependencies not handled by setuptools
## DSSP
sudo apt-get install -y dssp
## MSMS
Expand All @@ -59,7 +57,7 @@ runs:
CMAKE_INSTALL_PREFIX: .local
if: runner.os == 'macOS'
run: |
# Install dependencies not handled by setuptools
# Install dependencies not handled by setuptools
## DSSP
git clone https://github.com/PDB-REDO/libcifpp.git --recurse-submodules
cd libcifpp
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest']
python-version: ['3.10', '3.11']
os: ["ubuntu-latest"]
python-version: ["3.10", "3.11"]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cffconvert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
- name: Check whether the citation metadata from CITATION.cff is valid
uses: citation-file-format/cffconvert-github-action@2.0.0
with:
args: "--validate"
args: "--validate"
2 changes: 1 addition & 1 deletion .github/workflows/coveralls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
python-version: ['3.10']
python-version: ["3.10"]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/draft-pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
# This is the output path where Pandoc will write the compiled
# PDF. Note, this should be the same directory as the input
# paper.md
path: paper/paper.pdf
path: paper/paper.pdf
2 changes: 1 addition & 1 deletion .github/workflows/fair-software.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- main
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
types: [opened, synchronize, reopened, ready_for_review]

jobs:
verify:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
python-version: ['3.10']
python-version: ["3.10"]

steps:
- uses: actions/checkout@v3
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/markdown-link-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: markdown-link-check
on:
push:
branches:
- main
- main
paths:
# filetypes
- "**.md"
Expand All @@ -25,7 +25,7 @@ jobs:
name: Check markdown links
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
config-file: '.github/workflows/markdown-link-check.yml'
- uses: actions/checkout@v3
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
config-file: ".github/workflows/markdown-link-check.yml"
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest']
python-version: ['3.10']
os: ["ubuntu-latest"]
python-version: ["3.10"]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale_issue_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ jobs:
days-before-pr-close: -1
stale-pr-message: "This PR is stale because it has been open for 14 days with no activity."
close-pr-message: "This PR was closed because it has been inactive for 7 days since being marked as stale."
exempt-issue-labels: 'blocked'
exempt-issue-labels: "blocked"
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ sphinx:
# Explicitly set the version of Python and its requirements
python:
install:
- requirements: docs/requirements.txt
- requirements: docs/requirements.txt
34 changes: 19 additions & 15 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
{
// Python
"[python]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll": "explicit"
},
"editor.defaultFormatter": "charliermarsh.ruff"
// Python
"[python]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll": "explicit"
},
"autoDocstring.docstringFormat": "google",
"editor.defaultFormatter": "charliermarsh.ruff"
},
"autoDocstring.docstringFormat": "google",

// Notebooks
"notebook.lineNumbers": "on",
"notebook.formatOnSave.enabled": true,
"notebook.codeActionsOnSave": {
"notebook.source.fixAll": "explicit",
},
"notebook.diff.ignoreMetadata": true,
// Notebooks
"notebook.lineNumbers": "on",
"notebook.formatOnSave.enabled": true,
"notebook.codeActionsOnSave": {
"notebook.source.fixAll": "explicit"
},
"notebook.diff.ignoreMetadata": true,

// Format all files on save
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
122 changes: 61 additions & 61 deletions .zenodo.json
Original file line number Diff line number Diff line change
@@ -1,64 +1,64 @@
{
"creators": [
{
"affiliation": "Netherlands eScience Center",
"name": "Giulia Crocioni",
"orcid": "0000-0002-0823-0121"
},
{
"affiliation": "Netherlands eScience Center",
"name": "Dani L. Bodor",
"orcid": "0000-0003-2109-2349"
},
{
"affiliation": "Radboud University Medical Center",
"name": "Coos Baakman",
"orcid": "0000-0003-4317-1566"
},
{
"affiliation": "Radboud University Medical Center",
"name": "Farzaneh M. Parizi",
"orcid": "0000-0003-4230-7492"
},
{
"affiliation": "Radboud University Medical Center",
"name": "Daniel T. Rademaker",
"orcid": "0000-0003-1959-1317"
},
{
"affiliation": "Radboud University Medical Center",
"name": "Gayatri Ramakrishnan",
"orcid": "0000-0001-8203-2783"
},
{
"affiliation": "Netherlands eScience Center",
"name": "Sven van der Burg",
"orcid": "0000-0003-1250-6968"
},
{
"affiliation": "Radboud University Medical Center",
"name": "Dario F. Marzella",
"orcid": "0000-0002-0043-3055"
},
{
"name": "João M. C. Teixeira",
"orcid": "0000-0002-9113-0622"
},
{
"affiliation": "Radboud University Medical Center",
"name": "Li C. Xue",
"orcid": "0000-0002-2613-538X"
}
],
"keywords": [
"Graph neural networks",
"Convolutional neural networks",
"Protein-protein interface",
"Single-residue variant",
"DeepRank"
],
"license": {
"id": "Apache-2.0"
"creators": [
{
"affiliation": "Netherlands eScience Center",
"name": "Giulia Crocioni",
"orcid": "0000-0002-0823-0121"
},
"title": "DeepRank2"
{
"affiliation": "Netherlands eScience Center",
"name": "Dani L. Bodor",
"orcid": "0000-0003-2109-2349"
},
{
"affiliation": "Radboud University Medical Center",
"name": "Coos Baakman",
"orcid": "0000-0003-4317-1566"
},
{
"affiliation": "Radboud University Medical Center",
"name": "Farzaneh M. Parizi",
"orcid": "0000-0003-4230-7492"
},
{
"affiliation": "Radboud University Medical Center",
"name": "Daniel T. Rademaker",
"orcid": "0000-0003-1959-1317"
},
{
"affiliation": "Radboud University Medical Center",
"name": "Gayatri Ramakrishnan",
"orcid": "0000-0001-8203-2783"
},
{
"affiliation": "Netherlands eScience Center",
"name": "Sven van der Burg",
"orcid": "0000-0003-1250-6968"
},
{
"affiliation": "Radboud University Medical Center",
"name": "Dario F. Marzella",
"orcid": "0000-0002-0043-3055"
},
{
"name": "João M. C. Teixeira",
"orcid": "0000-0002-9113-0622"
},
{
"affiliation": "Radboud University Medical Center",
"name": "Li C. Xue",
"orcid": "0000-0002-2613-538X"
}
],
"keywords": [
"Graph neural networks",
"Convolutional neural networks",
"Protein-protein interface",
"Single-residue variant",
"DeepRank"
],
"license": {
"id": "Apache-2.0"
},
"title": "DeepRank2"
}
Loading

0 comments on commit 7dc2526

Please sign in to comment.