Skip to content

Commit

Permalink
code refactored
Browse files Browse the repository at this point in the history
  • Loading branch information
amenezes committed Jul 21, 2024
1 parent 9b764d6 commit 6989302
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
tests:
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '312']
os: [ubuntu]
fail-fast: true
runs-on: ${{ matrix.os }}-latest
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python 3.11.2
python 3.12.1
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ docs:

install-deps:
@echo "> installing dependencies..."
pip install -r requirements-dev.txt
uv pip install -r requirements-dev.txt
uv pip install -r requirements.txt
pre-commit install

tox:
Expand Down
2 changes: 1 addition & 1 deletion config/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from .cfenv import CFenv
from .spring import ConfigClient, config_client, create_config_client

__version__ = "1.4.0"
__version__ = "1.5.0"
__all__ = [
"__version__",
"ConfigClient",
Expand Down
1 change: 1 addition & 0 deletions config/core.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Core functions."""

from functools import wraps


Expand Down
1 change: 1 addition & 0 deletions config/spring.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module for retrieve application's config from Spring Cloud Config."""

import asyncio
import os
from functools import partial, wraps
Expand Down
1 change: 0 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
-r requirements.txt
flake8
pytest
pytest-cov
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_spring.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test spring module."""

from unittest.mock import PropertyMock

import pytest
Expand Down

0 comments on commit 6989302

Please sign in to comment.