Skip to content

Commit

Permalink
#22 📝 update badges on readme
Browse files Browse the repository at this point in the history
  • Loading branch information
d-ryan-ashcraft committed May 30, 2024
1 parent 5aa4caf commit 9e2aa95
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 16 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,4 @@ Thumbs.db
/poetry-monorepo-dependency-plugin.iml
/.python-version
/poetry.lock
/.venv
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Poetry Monorepo Dependency Plugin

[![PyPI](https://img.shields.io/pypi/v/poetry-monorepo-dependency-plugin)](https://pypi.org/project/poetry-monorepo-dependency-plugin/)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/poetry-monorepo-dependency-plugin)
![PyPI - Wheel](https://img.shields.io/pypi/wheel/poetry-monorepo-dependency-plugin)
[![PyPI](https://img.shields.io/pypi/v/poetry-monorepo-dependency-plugin?logo=python&logoColor=gold)](https://pypi.org/project/poetry-monorepo-dependency-plugin/)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/poetry-monorepo-dependency-plugin?logo=python&logoColor=gold)
![PyPI - Wheel](https://img.shields.io/pypi/wheel/poetry-monorepo-dependency-plugin?logo=python&logoColor=gold)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/poetry-monorepo-dependency-plugin?color=blue&label=Installs&logo=pypi&logoColor=gold)](https://pypi.org/project/poetry-monorepo-dependency-plugin/)
[![License](https://img.shields.io/github/license/mashape/apistatus.svg)](https://opensource.org/licenses/mit)

Forked and inspired by the [poetry-stickywheel-plugin](https://github.com/artisanofcode/poetry-stickywheel-plugin), this
Expand Down
1 change: 1 addition & 0 deletions poetry.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[virtualenvs]
in-project = true
prefer-active-python = true
5 changes: 2 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.technologybrewery</groupId>
<artifactId>parent</artifactId>
<version>7</version>
<version>9</version>
</parent>

<groupId>org.technologybrewery</groupId>
Expand Down Expand Up @@ -47,7 +47,7 @@
</scm>

<properties>
<version.habushu.plugin>2.9.0</version.habushu.plugin>
<version.habushu.plugin>2.15.0-SNAPSHOT</version.habushu.plugin>
</properties>

<build>
Expand All @@ -64,7 +64,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>3.0.1</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<!-- During release preparation, Habushu will automatically update the versions of Habushu modules
Expand Down
10 changes: 6 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,17 @@ readme = "README.md"
repository = "https://github.com/TechnologyBrewery/poetry-monorepo-dependency-plugin"

[tool.poetry.dependencies]
python = "^3.8"
python = "^3.8" #cleo must be capped below 4.0
poetry = ">=1.6"
poetry-plugin-export = ">=1.5.0"
cleo = ">=2.0.1"

[tool.poetry.group.dev.dependencies]
black = "^22.8.0"
behave = "^1.2.6"
nose = "^1.3.7"
black = ">=22.8.0"
behave = ">=1.2.6"
nose = ">=1.3.7"
pylint = ">=3.1.0"
kappa-maki = ">=1.0.2"

[tool.poetry.plugins."poetry.application.plugin"]
poetry-monorepo-dependency-plugin = "poetry_monorepo_dependency_plugin.plugin:MonorepoDependencyPlugin"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


def _validate_pinning_strategy(strategy):
if not strategy in ["mixed", "semver", "exact"]:
if strategy not in ["mixed", "semver", "exact"]:
raise ValueError(f"Invalid version pinning strategy: {strategy}")


Expand Down
2 changes: 1 addition & 1 deletion src/poetry_monorepo_dependency_plugin/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
_version_pinning_strategy = option(
"version-pinning-strategy",
"s",
"Stategy to use for rewriting any path dependencies to other Poetry projects "
"Strategy to use for rewriting any path dependencies to other Poetry projects "
"as versioned dependencies",
flag=False,
default="mixed",
Expand Down
4 changes: 1 addition & 3 deletions tests/features/steps/remove_path_dependencies_steps.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import unittest.mock
import unittest
from pathlib import Path

import cleo.io.io
import poetry.core.factory
from behave import *
from behave import when, then # pylint: disable=no-name-in-module
import nose.tools as nt

from poetry_monorepo_dependency_plugin.path_dependency_remover import (
Expand Down
2 changes: 1 addition & 1 deletion tests/features/steps/rewrite_path_dependencies_steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import cleo.io.io
import poetry.core.factory
from behave import *
from behave import given, when, then # pylint: disable=no-name-in-module
import nose.tools as nt

from poetry_monorepo_dependency_plugin.path_dependency_rewriter import (
Expand Down

0 comments on commit 9e2aa95

Please sign in to comment.