File tree Expand file tree Collapse file tree 3 files changed +15
-17
lines changed
Expand file tree Collapse file tree 3 files changed +15
-17
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 5757 run : ./cc-test-reporter sum-coverage --output - coverage.*.xml | ./cc-test-reporter upload-coverage --debug --input -
5858 env :
5959 CC_TEST_REPORTER_ID : ${{ secrets.CC_TEST_REPORTER_ID }}
60+ lint :
61+ runs-on : ubuntu-latest
62+ steps :
63+ - uses : actions/checkout@v2
64+ - name : clang-format
65+ run : clang-format --Werror --dry-run arc4.c
66+ - run : pip install . flake8 mypy pygments restructuredtext_lint
67+ - run : flake8
68+ - run : stubtest arc4
69+ - run : rst-lint README.rst
Original file line number Diff line number Diff line change 1- class ARC4 (object ):
2- def __init__ (self , key : bytes ): ...
1+ from typing_extensions import final
32
4- def encrypt (self , data : bytes ) -> bytes : ...
53
4+ @final
5+ class ARC4 (object ):
6+ def __init__ (self , key : bytes ) -> None : ...
7+ def encrypt (self , data : bytes ) -> bytes : ...
68 def decrypt (self , data : bytes ) -> bytes : ...
You can’t perform that action at this time.
0 commit comments