This repository was archived by the owner on Dec 16, 2025. It is now read-only.
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:
6666 python --version
6767 pip install .[dev]
6868 python -m unittest
69- pytype3_10 :
70- name : pytype 3.10
69+ pytype3_11 :
70+ name : pytype 3.11
7171 runs-on : ubuntu-latest
7272 steps :
7373 - uses : actions/checkout@v3
7474 - uses : actions/setup-python@v4
7575 with :
76- python-version : ' 3.10 '
76+ python-version : ' 3.11 '
7777 - name : Run pytype
7878 run : |
7979 python --version
8080 pip install .[dev]
8181 pip install -q gspread ipython
82+ touch google/__init__.py # https://github.com/google/pytype/issues/464
8283 pytype
8384 format :
8485 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`)
8080
8181```
8282pip install pytype
83+ touch google/__init__.py # https://github.com/google/pytype/issues/464
8384pytype
85+ rm google/__init__.py
8486```
8587
8688### Formatting:
Original file line number Diff line number Diff line change 1212# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313# See the License for the specific language governing permissions and
1414# limitations under the License.
15+ #
16+ # pytype: skip-file
1517r"""Api reference docs generation script, using tensorflow_docs
1618
1719This 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 11[tool .pytype ]
22inputs = [' google' , ' tests' ]
3+ exclude = [' build' ]
34
45[tool .black ]
56line-length = 100
You can’t perform that action at this time.
0 commit comments