Skip to content

Commit

Permalink
Cleanup (#205)
Browse files Browse the repository at this point in the history
* Add module.

* Add stuff.

* Fix mytree links

* Tests fixed

* Refactor tests

* Reformat

* Add poetry setup

* Drop more files

* Drop gitattributes and move contributing

* Create static

* Update citation

* Readd pyspelling

* Update workflows

* Upload to codecov

* Add dependabot

* Add labels.yml

* Add release drafter

* Update mds

* Drop circleci

* Simplify directories

* Add doc deps

* Add PR welcome

* Drop tilde req

* Add TFP dep

* Drop distrax refs

* Drop JaxUtils refs

* Run docs workflow

* Implement sample method

* Fix graph kernel sampler

* Add version

* Dynamic versioning

* Fix jit

* Add poetry build

* Add poetry build

---------

Co-authored-by: Daniel Dodd <daniel_dodd@icloud.com>
  • Loading branch information
thomaspinder and daniel-dodd authored Apr 9, 2023
1 parent 74a3366 commit 4b9f5f9
Show file tree
Hide file tree
Showing 121 changed files with 5,015 additions and 4,393 deletions.
153 changes: 0 additions & 153 deletions .circleci/config.yml

This file was deleted.

12 changes: 0 additions & 12 deletions .coveragerc

This file was deleted.

1 change: 0 additions & 1 deletion .gitattributes

This file was deleted.

18 changes: 18 additions & 0 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# codecov used to be able to find this anywhere, now we have to manually
# tell it where to look
comment: false

codecov:
notify:
require_ci_to_pass: no

coverage:
status:
patch:
default:
target: 50%
if_no_uploads: error
if_not_found: success
if_ci_failed: failure
project:
default: false
21 changes: 21 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: weekly
- package-ecosystem: pip
directory: "/.github/workflows"
schedule:
interval: weekly
- package-ecosystem: pip
directory: "/docs"
schedule:
interval: weekly
- package-ecosystem: pip
directory: "/"
schedule:
interval: weekly
versioning-strategy: lockfile-only
allow:
- dependency-type: "all"
66 changes: 66 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
---
# Labels names are important as they are used by Release Drafter to decide
# regarding where to record them in changelog or if to skip them.
#
# The repository labels will be automatically configured using this file and
# the GitHub Action https://github.com/marketplace/actions/github-labeler.
- name: breaking
description: Breaking Changes
color: bfd4f2
- name: bug
description: Something isn't working
color: d73a4a
- name: build
description: Build System and Dependencies
color: bfdadc
- name: ci
description: Continuous Integration
color: 4a97d6
- name: dependencies
description: Pull requests that update a dependency file
color: 0366d6
- name: documentation
description: Improvements or additions to documentation
color: 0075ca
- name: duplicate
description: This issue or pull request already exists
color: cfd3d7
- name: enhancement
description: New feature or request
color: a2eeef
- name: github_actions
description: Pull requests that update Github_actions code
color: "000000"
- name: good first issue
description: Good for newcomers
color: 7057ff
- name: help wanted
description: Extra attention is needed
color: 008672
- name: invalid
description: This doesn't seem right
color: e4e669
- name: performance
description: Performance
color: "016175"
- name: python
description: Pull requests that update Python code
color: 2b67c6
- name: question
description: Further information is requested
color: d876e3
- name: refactoring
description: Refactoring
color: ef67c4
- name: removal
description: Removals and Deprecations
color: 9ae7ea
- name: style
description: Style
color: c120e5
- name: testing
description: Testing
color: b1fc6f
- name: wontfix
description: This will not be worked on
color: ffffff
37 changes: 12 additions & 25 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,20 @@
<!--- Please provide a general summary of your changes in the title above -->
## Type of changes

## Pull request type
- [ ] Bug fix
- [ ] New feature
- [ ] Documentation / docstrings
- [ ] Tests
- [ ] Other

<!-- Please try to limit your pull request to one type, submit multiple pull requests if needed. -->
## Checklist

Please check the type of change your PR introduces:
- [ ] I've formatted the new code by running `poetry run pre-commit run --all-files --show-diff-on-failure` before committing.
- [ ] I've added tests for new code.
- [ ] I've added docstrings for the new code.

- [ ] Bugfix
- [ ] Feature
- [ ] Code style update (formatting, renaming)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] Documentation content changes
- [ ] Other (please describe):
## Description

## What is the current behavior?

<!-- Please describe the current behavior that you are modifying, or link to a relevant issue. -->
Please describe your changes here. If this fixes a bug, please link to the issue, if possible.

Issue Number: N/A

## What is the new behavior?

<!-- Please describe the behavior or changes that are being added by this PR. -->

-
-
-

## Other information

<!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. -->
28 changes: 28 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
categories:
- title: ":boom: Breaking Changes"
label: "breaking"
- title: ":rocket: Features"
label: "enhancement"
- title: ":fire: Removals and Deprecations"
label: "removal"
- title: ":beetle: Fixes"
label: "bug"
- title: ":racehorse: Performance"
label: "performance"
- title: ":rotating_light: Testing"
label: "testing"
- title: ":construction_worker: Continuous Integration"
label: "ci"
- title: ":books: Documentation"
label: "documentation"
- title: ":hammer: Refactoring"
label: "refactoring"
- title: ":lipstick: Style"
label: "style"
- title: ":package: Dependencies"
labels:
- "dependencies"
- "build"
template: |
## Changes
$CHANGES
Loading

0 comments on commit 4b9f5f9

Please sign in to comment.