Skip to content

Commit

Permalink
tooliing: refine labeler and vscode config
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Feb 19, 2024
1 parent c0c8edf commit e72655a
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 4 deletions.
26 changes: 22 additions & 4 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
bug:
- head-branch:
- ^fix
- fix
- ^hotfix
- hotfix


ci-cd:
- changed-files:
- any-glob-to-any-file: .github/**
- any-glob-to-any-file:
- .github/**

dependencies:
- changed-files:
Expand All @@ -13,27 +22,36 @@ documentation:
- any-glob-to-any-file:
- docs/**
- requirements/documentation.txt

enhancement:
- head-branch: ["^feature", "feature", "^improve", "improve"]
- head-branch:
- ^feature
- feature
- ^improve
- improve

packaging:
- head-branch: ["^packaging", "packaging"]
- changed-files:
- any-glob-to-any-file:
- builder/**/*
- setup.py
- head-branch:
- ^packaging
- packaging

quality:
- changed-files:
- any-glob-to-any-file:
- tests/**/*

tooling:
- head-branch: ["^tooling", "tooling"]
- changed-files:
- any-glob-to-any-file:
- codecov.yml
- .pre-commit-config.yaml
- setup.cfg
- sonar-project.properties
- .vscode/**/*
- head-branch:
- ^tooling
- tooling
21 changes: 21 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@
"files.associations": {
"./requirements/*.txt": "pip-requirements"
},
// JSON
"[json]": {
"editor.formatOnSave": true,
"editor.quickSuggestions": {
"strings": true
},
"editor.suggest.insertMode": "replace"
},
// Python
"python.analysis.autoFormatStrings": true,
"python.analysis.typeCheckingMode": "basic",
Expand All @@ -29,6 +37,19 @@
// Tests
"python.testing.unittestEnabled": true,
"python.testing.pytestEnabled": true,
// YAML
"[yaml]": {
"editor.autoIndent": "keep",
"editor.formatOnSave": true,
"editor.insertSpaces": true,
"editor.tabSize": 2,
"diffEditor.ignoreTrimWhitespace": false,
"editor.quickSuggestions": {
"other": true,
"comments": false,
"strings": true
}
},
// extensions
"autoDocstring.guessTypes": true,
"autoDocstring.docstringFormat": "google-notypes",
Expand Down

0 comments on commit e72655a

Please sign in to comment.