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
59 changes: 59 additions & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: CI

on:
merge_group:
push:
pull_request:

defaults:
run:
shell: bash

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
max-parallel: 1
matrix:
os: [ubuntu-24.04, macos-13, windows-2022]
python-version: ["3.13"]
include:
- os: ubuntu-24.04
name: Linux
- os: macos-13
name: macOS
- os: windows-2022
name: Windows

steps:
- uses: actions/checkout@v4

- name: Install poetry
run: pipx install poetry==2.1.2

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"

- name: Install dependencies
run: |
# poetry default git client `dulwich` doesn't work properly with git urls
# to dependencies, which we use
poetry config system-git-client true

poetry install
shell: bash

- name: Lint
run: |
poetry run python -m finecode run lint
shell: bash

# - name: Run unit tests
# if: ${{ !cancelled() }}
# run: |
# poetry run python -m pytest tests/
# shell: bash
216 changes: 108 additions & 108 deletions extensions/fine_python_ast/poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion extensions/fine_python_ast/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = [{ name = "Vladyslav Hnatiuk", email = "aders1234@gmail.com" }]
readme = "README.md"
requires-python = ">=3.11, < 3.14"
dependencies = [
"finecode_extension_api @ git+ssh://git@github.com:finecode-dev/finecode.git#subdirectory=finecode_extension_api",
"finecode_extension_api @ git+https://github.com/finecode-dev/finecode.git#subdirectory=finecode_extension_api",
]


Expand Down
224 changes: 112 additions & 112 deletions extensions/fine_python_black/poetry.lock

Large diffs are not rendered by default.

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

Expand Down
445 changes: 229 additions & 216 deletions extensions/fine_python_import_linter/poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion extensions/fine_python_import_linter/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = [{ name = "Vladyslav Hnatiuk", email = "aders1234@gmail.com" }]
readme = "README.md"
requires-python = ">= 3.11, < 3.14"
dependencies = [
"finecode_extension_api @ git+ssh://git@github.com:finecode-dev/finecode.git#subdirectory=finecode_extension_api",
"finecode_extension_api @ git+https://github.com/finecode-dev/finecode.git#subdirectory=finecode_extension_api",
"import-linter (>=2.1,<3.0)",
]

Expand Down
216 changes: 108 additions & 108 deletions extensions/fine_python_isort/poetry.lock

Large diffs are not rendered by default.

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

Expand Down
216 changes: 108 additions & 108 deletions extensions/fine_python_mypy/poetry.lock

Large diffs are not rendered by default.

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

Expand Down
Loading