Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release 12.0.0 #636

Merged
merged 10 commits into from
Dec 28, 2022
31 changes: 15 additions & 16 deletions .github/workflows/black-docstr.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@

name: black-docstr

on: pull_request
jobs:
black-docstr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
apt-get update && apt-get install git -y
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
- name: Running black and docstr-coverage check
run: |
sudo apt-get update
sudo apt-get install git python3-pip -y
sudo pip3 install black==22.10.0 docstr-coverage
FILES="$(git diff --name-only --diff-filter=A --diff-filter=M "origin/${{github.base_ref}}" '*.py')"
black --check -l 120 -t py37 --exclude 'templates' $FILES
for FILE in $FILES; do echo $FILE; docstr-coverage $FILE || true; done
black-docstr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
apt-get update && apt-get install git -y
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
- name: Running black and docstr-coverage check
run: |
sudo apt-get update
sudo apt-get install git python3-pip -y
sudo pip3 install black==22.10.0 docstr-coverage
FILES="$(git diff --name-only --diff-filter=A --diff-filter=M "origin/${{github.base_ref}}" '*.py')"
[ ! -z "$FILES" ] && black --check -l 120 -t py37 --exclude 'templates' $FILES
for FILE in $FILES; do echo $FILE; docstr-coverage $FILE || true; done
74 changes: 37 additions & 37 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description = "system automation, configuration management and RPC framework"
license = "MIT"
name = "js-ng"
packages = [{include = "jumpscale"}]
version = "12.0"
version = "12.0.0"

[tool.poetry.dependencies]
GitPython = "^3.0"
Expand Down