-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
57 lines (46 loc) · 1.38 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: Python Linter
author: 'coldsofttech'
# Description of the GitHub Action.
description: |
This GitHub Action performs linting for Python packages using the specified linter tool.
Supported tools include flake8, pylint, pycodestyle, pyflakes, black, and mypy.
# Inputs required for the action.
inputs:
tool:
description: 'Linter tool to be used.'
required: true
default: 'flake8'
# Supported linter tools: flake8, pylint, pycodestyle, pyflakes, black, and mypy.
path:
description: 'Path or file name where linting will be performed.'
required: true
default: '.'
artifact-name:
description: 'Name for the lint report artifact.'
required: true
default: 'lint-report'
# Accepted values: true, false
verbose:
description: 'Enable verbose mode. Default is true.'
required: false
default: 'true'
# Accepted values: true, false
color:
description: 'Enable colored output within the terminal. Default is true.'
required: false
default: 'true'
# Accepted values: true, false
statistics:
description: 'Include statistics in the report. Default is true.'
required: false
default: 'true'
arguments:
description: 'Additional arguments for the linting.'
required: false
# Defines the runtime environment.
runs:
using: 'node20'
main: 'main.js'
branding:
icon: 'check-square'
color: orange