Skip to content
Open
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
1 change: 1 addition & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[run]
omit =
tests/*
src/pysatl_experiment/__main__.py
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ on:
pull_request:
branches:
- main
types: [opened, synchronize, reopened, closed, review_requested]
types: [ opened, synchronize, reopened, closed, review_requested ]

jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
python-version: [ "3.10", "3.11", "3.12" ]

steps:
- name: Checkout repository
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- main
types: [ opened, synchronize, reopened, closed, review_requested ]
release:
types: [published]
types: [ published ]


# disable permissions for all of the available permissions
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:

- name: Install dependencies with Poetry
run: |
poetry install --with dev
poetry install --with docs

- name: Fetch gh-pages branch
run: |
Expand Down
7 changes: 0 additions & 7 deletions docs/requirements-docs.txt

This file was deleted.

14 changes: 14 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ psycopg2 = "2.9.12"
pysatl-criterion = { version = "*", source = "testpypi", allow-prereleases = true }
psutil = "^7.1.1"

[tool.poetry.group.docs.dependencies]
markdown = "3.10.2"
mkdocs = "1.6.1"
mkdocs-material = "9.7.6"
mdx-truly-sane-lists = "1.3"
pymdown-extensions = "10.21.3"
mike = "2.2.0"

[tool.poetry.group.dev.dependencies]
markdown = "3.10.2"
mkdocs = "1.6.1"
Expand Down Expand Up @@ -107,6 +115,12 @@ enable = true
vcs = "git"
style = "pep440"

[tool.coverage.run]
source = ["pysatl_experiment"]
omit = [
"*/__main__.py",
]

# Format for NON tagged commits
format-jinja = """
{%- if distance == 0 -%}
Expand Down
3 changes: 3 additions & 0 deletions src/pysatl_experiment/loggers/buffering_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,6 @@ def flush(self):
self.buffer = self.buffer[records_to_keep:] # TODO: replace with queue/circular buffer??
finally:
self.release()


# TODO: currently not used anywhere
1 change: 1 addition & 0 deletions src/pysatl_experiment/loggers/json_formatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@


# TODO: replace loosely typed dictionaries with a dedicated TypedDict schema for formatter configuration?
# TODO: currently not used anywhere


class JsonFormatter(logging.Formatter):
Expand Down
3 changes: 3 additions & 0 deletions src/pysatl_experiment/loggers/rich_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
from rich.text import Text


# TODO: currently not used anywhere


class FtRichHandler(Handler):
"""
Custom Rich-based logging handler for colorized console output.
Expand Down
1 change: 1 addition & 0 deletions src/pysatl_experiment/loggers/std_err_stream_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,4 @@ def emit(self, record):


# TODO: is this handler needed at all instead of StreamHandler? if so, check for tests
# TODO: currently not used anywhere
40 changes: 0 additions & 40 deletions src/pysatl_experiment/misc.py

This file was deleted.

Loading