Skip to content

Commit

Permalink
Merge pull request #178 from valory-xyz/chore/clean-up
Browse files Browse the repository at this point in the history
Clean up the repo
  • Loading branch information
Adamantios authored May 29, 2023
2 parents d3e1ef6 + 13f076c commit cd0e8ef
Show file tree
Hide file tree
Showing 74 changed files with 1,217 additions and 843 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/main_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,16 @@ jobs:
sudo apt-get update --fix-missing
sudo apt-get autoremove
sudo apt-get autoclean
pip install tomte[tox]==0.2.2
pip install tomte[tox,cli]==0.2.12
pip install --upgrade setuptools==60.10.0
- name: Check copyright headers
run: tox -e check-copyright
run: tomte check-copyright --author valory --exclude-part abci --exclude-part http_client --exclude-part ipfs --exclude-part p2p_libp2p_client --exclude-part gnosis_safe --exclude-part gnosis_safe_proxy_factory --exclude-part multisend --exclude-part service_registry --exclude-part acn --exclude-part contract_api --exclude-part http --exclude-part tendermint --exclude-part abstract_abci
- name: License compatibility check
run: tox -e liccheck
- name: Check pipfiles
run: tox -e check-pipfiles
- name: Check doc links
run: tomte check-doc-links --url-skips https://eips.ethereum.org/EIPS/eip-1884[EIP1884] --url-skips "https://gasprice.poa.network/'" --url-skips https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn

linter_checks:
continue-on-error: False
Expand All @@ -85,7 +89,7 @@ jobs:
sudo apt-get update --fix-missing
sudo apt-get autoremove
sudo apt-get autoclean
pip install tomte[tox]==0.2.2
pip install tomte[tox,cli]==0.2.12
pip install --upgrade setuptools==60.10.0
# install Protobuf compiler
wget https://github.com/protocolbuffers/protobuf/releases/download/v3.11.4/protoc-3.11.4-linux-x86_64.zip
Expand Down Expand Up @@ -117,7 +121,8 @@ jobs:
run: tox -e mypy
- name: Pylint
run: tox -e pylint

# - name: Check spelling >> 1391 spelling errors found in 48 files, not addressing this for the moment
# run: tomte check-spelling
scan:
name: gitleaks
runs-on: ubuntu-latest
Expand Down Expand Up @@ -164,7 +169,7 @@ jobs:
sudo apt-get update --fix-missing
sudo apt-get autoremove
sudo apt-get autoclean
pip install tomte[tox]==0.2.2
pip install tomte[tox]==0.2.12
pip install --upgrade setuptools==60.10.0
# install Protobuf compiler
Expand Down Expand Up @@ -197,7 +202,7 @@ jobs:
- if: matrix.os == 'macos-latest'
name: Install dependencies (macos-latest)
run: |
pip install tomte[tox]==0.2.2
pip install tomte[tox]==0.2.12
brew install gcc
# brew install protobuf
# brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/72457f0166d5619a83f508f2345b22d0617b5021/Formula/protobuf.rb
Expand Down Expand Up @@ -234,7 +239,7 @@ jobs:
choco install make -y
# to check make was installed
make --version
pip install tomte[tox]==0.2.2
pip install tomte[tox]==0.2.12
# wget https://github.com/protocolbuffers/protobuf/releases/download/v3.19.4/protoc-3.19.4-win64.zip
# unzip protoc-3.19.4-win64.zip -d protoc
# sudo mv protoc/bin/protoc /usr/local/bin/protoc
Expand Down Expand Up @@ -286,7 +291,7 @@ jobs:
sudo apt-get update --fix-missing
sudo apt-get autoremove
sudo apt-get autoclean
pip install tomte[tox]==0.2.2
pip install tomte[tox]==0.2.12
pip install --upgrade setuptools==60.10.0
# install Protobuf compiler
Expand Down
4 changes: 4 additions & 0 deletions .gitleaksignore
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,7 @@ af5a8209b6f6dea7aff66af0693904601892fbb0:packages/keep3r_co/agents/keep3r_bot/te
870947e0db4b78f49129f3b2a192ee87161f8baf:packages/valory/protocols/ledger_api/protocol.yaml:generic-api-key:14
870947e0db4b78f49129f3b2a192ee87161f8baf:packages/valory/protocols/ledger_api/protocol.yaml:generic-api-key:15
870947e0db4b78f49129f3b2a192ee87161f8baf:packages/valory/protocols/ledger_api/protocol.yaml:generic-api-key:19
484e402b6de0418975afc8dbed8d99c145be2918:packages/valory/connections/ledger/connection.yaml:generic-api-key:19
484e402b6de0418975afc8dbed8d99c145be2918:packages/valory/protocols/ledger_api/protocol.yaml:generic-api-key:19
484e402b6de0418975afc8dbed8d99c145be2918:packages/valory/protocols/ledger_api/protocol.yaml:generic-api-key:20
484e402b6de0418975afc8dbed8d99c145be2918:packages/valory/protocols/ledger_api/protocol.yaml:generic-api-key:21
Loading

0 comments on commit cd0e8ef

Please sign in to comment.