Skip to content

Commit

Permalink
v2.0.0 (#45)
Browse files Browse the repository at this point in the history
* Bump version to 2.0.0
* Update pre-commit-config.yaml
* Update .readthedocs.yml
* Fix linting error
  • Loading branch information
bpepple authored Nov 26, 2024
1 parent 6702f14 commit 810ae78
Show file tree
Hide file tree
Showing 6 changed files with 906 additions and 898 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.8
rev: v0.8.0
hooks:
- id: ruff-format
- id: ruff
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.17
rev: 0.7.19
hooks:
- id: mdformat
additional_dependencies:
Expand All @@ -16,7 +16,7 @@ repos:
- --wrap=keep
files: "README\\.md|docs/.*|tests/.*"
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: check-ast
- id: check-builtin-literals
Expand All @@ -43,7 +43,7 @@ repos:
args:
- --markdown-linebreak-ext=md
- repo: https://github.com/pappasam/toml-sort
rev: v0.23.1
rev: v0.24.2
hooks:
- id: toml-sort
args:
Expand Down
22 changes: 10 additions & 12 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
# .readthedocs.yml
# Read the Docs configuration file
# Read the Docs configuration file for Sphinx projects
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Build documentation in the docs/ directory with Sphinx
# Set the OS, Python version and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.12"
jobs:
post_create_environment:
- pip install poetry
# - poetry config virtualenvs.create false
post_install:
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs

# Build documentation in the "docs/" directory with Sphinx
mkdocs:
configuration: mkdocs.yaml

# Optionally set the version of Python and requirements required to build your docs
python:
install:
- method: pip
path: .
extra_requirements:
- docs
configuration: mkdocs.yml
2 changes: 1 addition & 1 deletion esak/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Project entry file."""

__all__ = ["__version__", "api"]
__version__ = "1.3.2"
__version__ = "2.0.0"

from esak.exceptions import AuthenticationError
from esak.session import Session
Expand Down
2 changes: 1 addition & 1 deletion esak/schemas/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- GenericCreator
"""

__all__ = ["GenericItem", "GenericStory", "GenericCreator"]
__all__ = ["GenericCreator", "GenericItem", "GenericStory"]

from pydantic import Field, HttpUrl

Expand Down
Loading

0 comments on commit 810ae78

Please sign in to comment.