Skip to content

Commit beaeb53

Browse files
authored
Fixing Broken Lint Workflow Link in Python SDK (#7600)
1 parent a4da8c8 commit beaeb53

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/linters/.python-lint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,4 +466,4 @@ valid-metaclass-classmethod-first-arg=mcs
466466

467467
# Exceptions that will emit a warning when being caught. Defaults to
468468
# "Exception"
469-
overgeneral-exceptions=Exception
469+
overgeneral-exceptions=builtins.Exception

python/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,24 +95,24 @@ We rely on [pylint](https://pylint.pycqa.org/en/latest/) and [black](https://bla
9595
To contribute Python code to this project, please refer to the following installation and usage steps.
9696

9797
### Using Pylint
98-
We run Pylint using [a custom configuration file](.github/linters/.python-lint) against any changed file or directory. See the [Python Github Action workflow](../.github/workflows/python.yml) for details.
98+
We run Pylint using [a custom configuration file](../.github/linters/.python-lint) against any changed file or directory. See the [Python Github Action workflow](../.github/workflows/lint-python.yml) for details.
9999

100100
To invoke Pylint yourself, first install it with `pip install pylint`.
101101

102102
Next, run:
103103

104104
```bash
105-
pylint --rcfile=.github/linters/.python-lint path/to/python/file_or_directory
105+
pylint --rcfile=../.github/linters/.python-lint path/to/python/file_or_directory
106106
```
107107

108108
To lint all Python files in the current directory and its subdirectories, run:
109109

110110
```bash
111-
pylint --rcfile=.github/linters/.python-lint .
111+
pylint --rcfile=../.github/linters/.python-lint .
112112
```
113113

114114
### Using Black
115-
We run Black against any changed file or directory. See the [Python Github Action workflow](../.github/workflows/python.yml) for details.
115+
We run Black against any changed file or directory. See the [Python Github Action workflow](../.github/workflows/lint-python.yml) for details.
116116

117117
To invoke Black yourself, first install it with `pip install black`.
118118

0 commit comments

Comments
 (0)