Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 36 additions & 11 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,22 +88,38 @@ jobs:
popd
shell: bash

- name: Build fine_python_ast
if: runner.os == 'Linux'
run: |
pushd extensions/fine_python_ast
poetry build
popd
shell: bash

- name: Build fine_python_black
if: runner.os == 'Linux'
run: |
pushd extensions/fine_python_black
poetry build
popd
shell: bash

- name: Build fine_python_isort
if: runner.os == 'Linux'
run: |
pushd extensions/fine_python_isort
poetry build
popd
shell: bash


- name: Build fine_python_mypy
if: runner.os == 'Linux'
run: |
pushd extensions/fine_python_mypy
poetry build
popd
shell: bash

- name: Build fine_python_format
if: runner.os == 'Linux'
run: |
Expand All @@ -112,22 +128,27 @@ jobs:
popd
shell: bash

# - name: Build finecode
# if: runner.os == 'Linux'
# run: |
# poetry build
# shell: bash

- name: Build finecode
if: runner.os == 'Linux'
run: |
python -m venv .dev_workspace_venv
source .dev_workspace_venv/bin/activate
python -m pip install --upgrade pip==25.1.1
python -m pip install --group="dev_workspace"
python -m build
shell: bash

- name: Collect all distribution packages
if: runner.os == 'Linux'
run: |
mkdir -p dist
cp finecode_extension_api/dist/* dist/
# cp extensions/fine_python_black/dist/* dist/
# cp extensions/fine_python_isort/dist/* dist/
cp extensions/fine_python_ast/dist/* dist/
cp extensions/fine_python_black/dist/* dist/
cp extensions/fine_python_isort/dist/* dist/
cp extensions/fine_python_mypy/dist/* dist/
# cp presets/fine_python_format/dist/* dist/
shell: bash


- name: Store the distribution packages
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -188,3 +209,7 @@ jobs:
with:
repository-url: https://test.pypi.org/legacy/
verbose: true
# temporary skip existing packages, because not always all packages at once
# are updated.
# TODO: implement publishing only of changed in finecode
skip-existing: true
8 changes: 3 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ __pycache__
.coverage
.pytest_cache
.mypy_cache
.import_linter_cache
dist

# folder with locally built apps
apps

generator_runner.build
generator_runner.dist
src/finecode/_version.py
src/finecode.egg-info
1 change: 1 addition & 0 deletions extensions/fine_python_ast/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Integration of python built-in `ast` package with FineCode
17 changes: 6 additions & 11 deletions extensions/fine_python_ast/poetry.lock

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

4 changes: 1 addition & 3 deletions extensions/fine_python_ast/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ description = ""
authors = [{ name = "Vladyslav Hnatiuk", email = "[email protected]" }]
readme = "README.md"
requires-python = ">=3.11, < 3.14"
dependencies = [
"finecode_extension_api @ git+https://github.com/finecode-dev/finecode.git#subdirectory=finecode_extension_api",
]
dependencies = ["finecode_extension_api==0.1.0"]


[build-system]
Expand Down
1 change: 1 addition & 0 deletions extensions/fine_python_black/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Black Integration with FineCode
31 changes: 13 additions & 18 deletions extensions/fine_python_black/poetry.lock

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

5 changes: 1 addition & 4 deletions extensions/fine_python_black/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ description = ""
authors = [{ name = "Vladyslav Hnatiuk", email = "[email protected]" }]
readme = "README.md"
requires-python = ">=3.11, < 3.14"
dependencies = [
"finecode_extension_api @ git+https://github.com/finecode-dev/finecode.git#subdirectory=finecode_extension_api",
"black (>=25.1.0,<26.0.0)",
]
dependencies = ["finecode_extension_api==0.1.0", "black (>=25.1.0,<26.0.0)"]


[build-system]
Expand Down
1 change: 1 addition & 0 deletions extensions/fine_python_flake8/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Flake8 Integration with FineCode
1 change: 1 addition & 0 deletions extensions/fine_python_isort/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Isort Integration with FineCode
17 changes: 6 additions & 11 deletions extensions/fine_python_isort/poetry.lock

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

5 changes: 1 addition & 4 deletions extensions/fine_python_isort/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ description = ""
authors = [{ name = "Vladyslav Hnatiuk", email = "[email protected]" }]
readme = "README.md"
requires-python = ">= 3.11, < 3.14"
dependencies = [
"finecode_extension_api @ git+https://github.com/finecode-dev/finecode.git#subdirectory=finecode_extension_api",
"isort (>=5.13, <6)",
]
dependencies = ["finecode_extension_api==0.1.0", "isort (>=5.13, <6)"]


[build-system]
Expand Down
1 change: 1 addition & 0 deletions extensions/fine_python_mypy/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Mypy Integration with FineCode
17 changes: 6 additions & 11 deletions extensions/fine_python_mypy/poetry.lock

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

5 changes: 1 addition & 4 deletions extensions/fine_python_mypy/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ description = ""
authors = [{ name = "Vladyslav Hnatiuk", email = "[email protected]" }]
readme = "README.md"
requires-python = ">=3.11, < 3.14"
dependencies = [
"finecode_extension_api @ git+https://github.com/finecode-dev/finecode.git#subdirectory=finecode_extension_api",
"mypy (>=1.15, <2.0)",
]
dependencies = ["finecode_extension_api==0.1.0", "mypy (>=1.15, <2.0)"]


[build-system]
Expand Down
1 change: 0 additions & 1 deletion finecode/extension_runner/README.md

This file was deleted.

Loading
Loading