File tree Expand file tree Collapse file tree 5 files changed +9
-27
lines changed Expand file tree Collapse file tree 5 files changed +9
-27
lines changed Original file line number Diff line number Diff line change @@ -66,19 +66,20 @@ jobs:
66
66
python --version
67
67
pip install .[dev]
68
68
python -m unittest
69
- pytype3_10 :
70
- name : pytype 3.10
69
+ pytype3_11 :
70
+ name : pytype 3.11
71
71
runs-on : ubuntu-latest
72
72
steps :
73
73
- uses : actions/checkout@v3
74
74
- uses : actions/setup-python@v4
75
75
with :
76
- python-version : ' 3.10 '
76
+ python-version : ' 3.11 '
77
77
- name : Run pytype
78
78
run : |
79
79
python --version
80
80
pip install .[dev]
81
81
pip install -q gspread ipython
82
+ touch google/__init__.py # https://github.com/google/pytype/issues/464
82
83
pytype
83
84
format :
84
85
name : Check format with black
Original file line number Diff line number Diff line change @@ -80,7 +80,9 @@ Use `pytype` (configured in `pyproject.toml`)
80
80
81
81
```
82
82
pip install pytype
83
+ touch google/__init__.py # https://github.com/google/pytype/issues/464
83
84
pytype
85
+ rm google/__init__.py
84
86
```
85
87
86
88
### Formatting:
Original file line number Diff line number Diff line change 12
12
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
13
# See the License for the specific language governing permissions and
14
14
# limitations under the License.
15
+ #
16
+ # pytype: skip-file
15
17
r"""Api reference docs generation script, using tensorflow_docs
16
18
17
19
This script generates API reference docs for the reference doc generator.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
[tool .pytype ]
2
2
inputs = [' google' , ' tests' ]
3
+ exclude = [' build' ]
3
4
4
5
[tool .black ]
5
6
line-length = 100
You can’t perform that action at this time.
0 commit comments