-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 1) dev dependencies added to pyproject.toml 2) requirements.txt generated after pyproject.toml * global METADATA dictionary partially re-created * globals.py substituted by metadata.py * all metadata treated * ELEMENT_VIEW_TYPES treated * performance issue solved (using local resource instead of remote) * fix execution (loadgraph) * 1st improvement pre-commit config file * 1) pydocstyle fixes. all docstrings are now normalized 2) removed unused script setup_metadata.py * new pre-commit hooks added removed code formatting action * update codeql action * list of pre-commit hooks upgraded * pre-commit as default for future clonings * added pre-commit badge * removed pre-commit template * added pre-commit.ci * WIP build_package.py * build_package.py almost concluded * build_package.py almost concluded * build_package.py concluded * testing workflow modifications * testing pre-commit on workflow * testing pre-commit on workflow v2 * removed poetry check from pre-commit (kept only for pre-PR) * test commented out from build script * black hook modified and security check disabled for pre-commit * security check hook removed from pre-commit * testing workflow * testing workflow with pre-commit * pre-commit removed from workflow * workflow test for build package * workflow test for build package * workflow test for build package v2 * workflow test for build package v3 * workflow test for build package v4 * workflow test for build package v5 * workflow test for build package v6 * workflow test for build package v7 * workflow test for build package v8 * Update documentation * workflow test for build package v9 * workflow test for build package v10 * workflow test for build package v11 * workflow test for build package v12 * workflow test for build package v13 * workflow test for build package v14 * version 1.3.0a submitted * version 1.3.0a corrections * version 1.3.0a corrections 2 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * workflow code_testing.yml updated * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
7fe7c87
commit 8e048a3
Showing
273 changed files
with
4,400 additions
and
23,650 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,45 @@ | ||
name: Update Docs | ||
|
||
on: | ||
pull_request_review: | ||
types: [ approved ] | ||
# workflow_run: | ||
# workflows: [ "Code Testing" ] | ||
# types: | ||
# - completed | ||
|
||
jobs: | ||
generate-docs: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Harden Runner | ||
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1 | ||
with: | ||
egress-policy: audit | ||
|
||
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 | ||
with: | ||
token: ${{ secrets.WORKFLOW_GIT_ACCESS_TOKEN }} | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r requirements.txt | ||
- name: Generate Documentation | ||
run: | | ||
python build_package.py | ||
- name: Commit Generated Docs | ||
run: | | ||
git config --local user.email "pedropaulofb@gmail.com" | ||
git config --local user.name "pedropaulofb" | ||
git add . | ||
git commit -m "Update documentation" | ||
git push | ||
name: Update Docs | ||
|
||
on: | ||
pull_request_review: | ||
types: [ approved ] | ||
# workflow_run: | ||
# workflows: [ "Code Testing" ] | ||
# types: | ||
# - completed | ||
|
||
jobs: | ||
generate-docs: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Harden Runner | ||
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1 | ||
with: | ||
egress-policy: audit | ||
|
||
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 | ||
with: | ||
token: ${{ secrets.WORKFLOW_GIT_ACCESS_TOKEN }} | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r requirements.txt | ||
- name: Generate Documentation | ||
run: | | ||
python build_package.py | ||
- name: Commit Generated Docs | ||
run: | | ||
git config --local user.email "pedropaulofb@gmail.com" | ||
git config --local user.name "pedropaulofb" | ||
git add . | ||
git commit -m "Update documentation" | ||
git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,52 @@ | ||
exclude: ^(sphinx|doc) | ||
repos: | ||
- repo: https://github.com/Lucas-C/pre-commit-hooks-safety | ||
rev: v1.3.1 | ||
hooks: | ||
- id: python-safety-dependencies-check | ||
files: pyproject.toml | ||
stages: | ||
- pre-push | ||
- repo: https://github.com/jendrikseipp/vulture | ||
rev: v2.9.1 | ||
hooks: | ||
- id: vulture | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.4.0 | ||
hooks: | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
- id: check-ast | ||
- id: check-case-conflict | ||
- id: check-merge-conflict | ||
- id: no-commit-to-branch | ||
- repo: https://github.com/psf/black-pre-commit-mirror | ||
rev: 23.9.1 | ||
hooks: | ||
- id: black | ||
args: [ --line-length=120 ] | ||
- repo: https://github.com/PyCQA/flake8 | ||
rev: 6.1.0 | ||
hooks: | ||
- id: flake8 | ||
args: [ --max-line-length=120 ] | ||
- repo: https://github.com/pycqa/pydocstyle | ||
rev: 6.3.0 | ||
hooks: | ||
- id: pydocstyle | ||
name: pydocstyle | ||
description: pydocstyle is a static analysis tool for checking compliance with Python docstring conventions. | ||
entry: pydocstyle | ||
language: python | ||
types: [ python ] | ||
ci: | ||
autofix_commit_msg: | | ||
[pre-commit.ci] auto fixes from pre-commit.com hooks | ||
for more information, see https://pre-commit.ci | ||
autofix_prs: true | ||
autoupdate_branch: '' | ||
autoupdate_commit_msg: '[pre-commit.ci] pre-commit autoupdate' | ||
autoupdate_schedule: weekly | ||
skip: [ ] | ||
submodules: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.