Skip to content

Commit

Permalink
LNT: Run pre-commit after adding the toml prettifier hook. [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
cheginit committed Jan 20, 2023
1 parent 1ab90ae commit 9c10a97
Show file tree
Hide file tree
Showing 14 changed files with 521 additions and 517 deletions.
2 changes: 1 addition & 1 deletion .codecov.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
codecov:
branch: main
branch: main

coverage:
status:
Expand Down
15 changes: 7 additions & 8 deletions .deepsource.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
version = 1

exclude_patterns = [
"tests/**",
"*/print_versions.py",
"*/__init__.py",
"tests/**",
"*/print_versions.py",
"*/__init__.py"
]
version = 1

[[analyzers]]
name = "python"
enabled = true
name = "python"

[analyzers.meta]
runtime_version = "3.x.x"
[analyzers.meta]
runtime_version = "3.x.x"
120 changes: 60 additions & 60 deletions .github/ISSUE_TEMPLATE/bugreport.yml
Original file line number Diff line number Diff line change
@@ -1,74 +1,74 @@
name: 🐛 Bug Report
description: File a bug report to help us improve
labels: [bug, "needs triage"]
labels: [bug, needs triage]
body:
- type: textarea
id: what-happened
attributes:
label: What happened?
description: |
Thanks for reporting a bug! Please describe what you were trying to get done.
Tell us what happened, what went wrong.
validations:
required: true
- type: textarea
id: what-happened
attributes:
label: What happened?
description: |
Thanks for reporting a bug! Please describe what you were trying to get done.
Tell us what happened, what went wrong.
validations:
required: true

- type: textarea
id: what-did-you-expect-to-happen
attributes:
label: What did you expect to happen?
description: |
Describe what you expected to happen.
validations:
required: false
- type: textarea
id: what-did-you-expect-to-happen
attributes:
label: What did you expect to happen?
description: |
Describe what you expected to happen.
validations:
required: false

- type: textarea
id: sample-code
attributes:
label: Minimal Complete Verifiable Example
description: |
Minimal, self-contained copy-pastable example that demonstrates the issue. This will be automatically formatted into code, so no need for markdown backticks.
render: Python
- type: textarea
id: sample-code
attributes:
label: Minimal Complete Verifiable Example
description: |
Minimal, self-contained copy-pastable example that demonstrates the issue. This will be automatically formatted into code, so no need for markdown backticks.
render: Python

- type: checkboxes
id: mvce-checkboxes
attributes:
label: MVCE confirmation
description: |
Please confirm that the bug report is in an excellent state, so we can understand & fix it quickly & efficiently. For more details, check out:
- type: checkboxes
id: mvce-checkboxes
attributes:
label: MVCE confirmation
description: |
Please confirm that the bug report is in an excellent state, so we can understand & fix it quickly & efficiently. For more details, check out:
- [Minimal Complete Verifiable Examples](https://stackoverflow.com/help/mcve)
- [Craft Minimal Bug Reports](http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports)
- [Minimal Complete Verifiable Examples](https://stackoverflow.com/help/mcve)
- [Craft Minimal Bug Reports](http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports)
options:
- label: Minimal example — the example is as focused as reasonably possible to demonstrate the underlying issue.
- label: Complete example — the example is self-contained, including all data and the text of any traceback.
- label: New issue — a search of GitHub Issues suggests this is not a duplicate.
options:
- label: Minimal example — the example is as focused as reasonably possible to demonstrate the underlying issue.
- label: Complete example — the example is self-contained, including all data and the text of any traceback.
- label: New issue — a search of GitHub Issues suggests this is not a duplicate.

- type: textarea
id: log-output
attributes:
label: Relevant log output
description: Please copy and paste any relevant output/traceback. This will be automatically formatted into code, so no need for markdown backticks.
render: Python
- type: textarea
id: log-output
attributes:
label: Relevant log output
description: Please copy and paste any relevant output/traceback. This will be automatically formatted into code, so no need for markdown backticks.
render: Python

- type: textarea
id: extra
attributes:
label: Anything else we need to know?
description: |
Please describe any other information you want to share.
- type: textarea
id: extra
attributes:
label: Anything else we need to know?
description: |
Please describe any other information you want to share.
- type: textarea
id: show-versions
attributes:
label: Environment
description: |
Paste the output of `pydaymet.show_versions()` between the `<details>` tags, leaving an empty line following the opening tag.
value: |
<details>
- type: textarea
id: show-versions
attributes:
label: Environment
description: |
Paste the output of `pydaymet.show_versions()` between the `<details>` tags, leaving an empty line following the opening tag.
value: |
<details>
</details>
validations:
required: true
</details>
validations:
required: true
12 changes: 6 additions & 6 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: 💡 Ideas & Discussion
url: https://github.com/hyriver/hyriver.github.io/discussions/categories/ideas
about: Do you have an idea how to improve HyRiver? Feel free to post it to the discussion forum that allows voting for other users.
- name: ⁉️ Help & Support
url: https://github.com/hyriver/hyriver.github.io/discussions/categories/q-a
about: Need help with installation or usage of HyRiver? Please use the discussion forum.
- name: 💡 Ideas & Discussion
url: https://github.com/hyriver/hyriver.github.io/discussions/categories/ideas
about: Do you have an idea how to improve HyRiver? Feel free to post it to the discussion forum that allows voting for other users.
- name: ⁉️ Help & Support
url: https://github.com/hyriver/hyriver.github.io/discussions/categories/q-a
about: Need help with installation or usage of HyRiver? Please use the discussion forum.
62 changes: 31 additions & 31 deletions .github/ISSUE_TEMPLATE/newfeature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,34 @@ name: 💡 Feature Request
description: Suggest an idea for HyRiver
labels: [enhancement]
body:
- type: textarea
id: description
attributes:
label: Is your feature request related to a problem?
description: |
Please do a quick search of existing issues to make sure that this has not been asked before.
Please provide a clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
validations:
required: true
- type: textarea
id: solution
attributes:
label: Describe the solution you'd like
description: |
A clear and concise description of what you want to happen.
- type: textarea
id: alternatives
attributes:
label: Describe alternatives you've considered
description: |
A clear and concise description of any alternative solutions or features you've considered.
validations:
required: false
- type: textarea
id: additional-context
attributes:
label: Additional context
description: |
Add any other context about the feature request here.
validations:
required: false
- type: textarea
id: description
attributes:
label: Is your feature request related to a problem?
description: |
Please do a quick search of existing issues to make sure that this has not been asked before.
Please provide a clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
validations:
required: true
- type: textarea
id: solution
attributes:
label: Describe the solution you'd like
description: |
A clear and concise description of what you want to happen.
- type: textarea
id: alternatives
attributes:
label: Describe alternatives you've considered
description: |
A clear and concise description of any alternative solutions or features you've considered.
validations:
required: false
- type: textarea
id: additional-context
attributes:
label: Additional context
description: |
Add any other context about the feature request here.
validations:
required: false
12 changes: 6 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
commit-message:
prefix: "BOT: [skip ci] "
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily
commit-message:
prefix: 'BOT: [skip ci] '
24 changes: 12 additions & 12 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: "CodeQL"
name: CodeQL

on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '30 1 * * 0'
- cron: 30 1 * * 0

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -20,16 +20,16 @@ jobs:
security-events: write

steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@v3

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: python
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: python

- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: Autobuild
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
6 changes: 3 additions & 3 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: excitedleigh/[email protected]
- run: nox -s pre-commit
- uses: actions/checkout@v3
- uses: excitedleigh/[email protected]
- run: nox -s pre-commit
Loading

0 comments on commit 9c10a97

Please sign in to comment.