Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: modernize project #137

Closed
wants to merge 24 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .flake8

This file was deleted.

13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,16 @@ updates:
directory: "/"
schedule:
interval: "daily"
labels:
- "dependencies:pyproject"
commit-message:
prefix: "maint"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
labels:
- "dependencies:ci"
commit-message:
prefix: "maint"
63 changes: 53 additions & 10 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,53 @@
documentation:
- doc/source/**/*
maintenance:
- .github/**/*
- .flake8
- pyproject.toml
dependencies:
- requirements/*
plotting:
- src/lamberthub/plotting/**/*
# This file is required by the the action 'https://github.com/actions/labeler'
# and used in the '.github/workflows/ci_cd_pr.yml' workflow

# -- Labels based on PR title ------------------------------------------------
'fix':
- head-branch: ['fix']

'enhancement':
- head-branch: ['feat']

# -- Documentation labels ----------------------------------------------------
'docs':
- all:
- changed-files:
- any-glob-to-any-file: ['doc/source/**/*.rst']
- all-globs-to-all-files: ['!doc/source/examples.rst', '!doc/source/api/**/*.rst', '!doc/styles/**', '!doc/.vale.ini']

'docs:api':
- any:
- changed-files:
- any-glob-to-any-file: ['doc/source/api/**/*.rst']

'docs:examples':
- any:
- changed-files:
- any-glob-to-any-file: ['examples/**/*.py', 'doc/source/examples.rst']


## -- Other labels ------------------------------------------------------------
'code-style':
- any:
- changed-files:
- any-glob-to-any-file: ['.pre-commit-config.yaml', 'doc/.vale.ini']

'docker':
- any:
- changed-files:
- any-glob-to-any-file: ['docker/**']

'ci':
- any:
- changed-files:
- any-glob-to-any-file: ['.github/workflows/**']

'tests':
- any:
- changed-files:
- any-glob-to-any-file: ['tests/**']

'plotting':
- any:
- changed-files:
- any-glob-to-any-file: ['src/lamberthub/plotting/**']
125 changes: 105 additions & 20 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,120 @@
- name: academia
description: Related with articles or publications
color: d2b48c
# The labels declared in this file are the ones avialables
# https://github.com/jorgepiloto/lamberthub

# -- Defects and glitches labels----------------------------------------------

- name: 'bug'
description: Defects or glitches reported by users or developers
color: d42a34

- name: bug
description: Something isn't working
- name: 'fix'
description: Pull requests related to resolving problems or errors
color: d42a34

- name: documentation
description: Improvements or additions to documentation
# -- Style labels ------------------------------------------------------------

- name: 'style'
description: Improvements related to general project style
color: dcbeff

- name: 'style:code'
description: Improvements related to code style
color: dcbeff

- name: 'style:docs'
description: Improvements related to doc style
color: dcbeff

- name: 'style:branch-name'
description: Verifies branch name is compliant with naming guidelines
color: dcbeff

- name: 'style:skip'
description: Skip style runs in CI/CD
color: dcbeff

# -- Tests labels ------------------------------------------------------------

- name: 'tests'
description: Related with improvements of the test suite
color: ffd8b1

- name: 'tests:skip'
description: Skip tests runs in CI/CD
color: ffd8b1

# -- Documentation labels ----------------------------------------------------

- name: 'docs'
description: Issues related to documentation
color: 0677ba

- name: 'docs:api'
description: Related to API documentation
color: 0677ba

- name: 'docs:examples'
description: Related to documentation examples
color: 0677ba

- name: 'docs:skip'
description: Skip documentation runs in CI/CD
color: 0677ba

- name: enhancement
description: New features or code improvements
color: ffc0cb
# -- Dependencies labels -----------------------------------------------------

- name: 'dependencies'
description: Related with project dependencies
color: fabed4

- name: 'dependencies:pyproject'
description: Related with project file dependencies
color: fabed4

- name: 'dependencies:ci'
description: Related with pipelines dependencies
color: fabed4

# -- CI/CD labels ------------------------------------------------------------

- name: 'ci'
description: Pipelines maintenance related
color: a9a9a9

- name: 'ci:skip'
description: Skip CI/CD runs
color: a9a9a9

# -- Other labels ------------------------------------------------------------

- name: 'release'
description: Anything related to an incoming release
color: ffffff

- name: good first issue
description: Easy to solve for newcomers
- name: 'good first issue'
description: Issues suitable for newcomers or those with less experience
color: 62ca50

- name: maintenance
description: Package and maintenance related
- name: 'enhancement'
description: General improvements to existing features
color: ffd827

- name: 'maintenance'
description: Generic maintenance related
color: f78c37

- name: new solver
- name: 'docker'
description: Docker maintenance related
color: 000075

- name: 'academia'
description: Related with articles or publications
color: d2b48c

- name: 'new solver'
description: Request new solver implementation
color: ffd827

- name: plotting
- name: 'plotting'
description: Plotting and graphical utilities
color: 000000

- name: release
description: Anything related to an incoming release
color: ffffff
171 changes: 0 additions & 171 deletions .github/workflows/ci_cd.yml

This file was deleted.

Loading
Loading