Skip to content

Commit b25aa61

Browse files
authored
Merge pull request #12 from pomponchik/develop
0.0.23
2 parents ef4e473 + d95be80 commit b25aa61

27 files changed

+131
-67
lines changed

.github/workflows/lint.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Lint
2+
3+
on:
4+
push
5+
6+
jobs:
7+
build:
8+
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
python-version: ['3.7']
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
17+
- name: Set up Python ${{ matrix.python-version }}
18+
uses: actions/setup-python@v1
19+
with:
20+
python-version: ${{ matrix.python-version }}
21+
22+
- name: Install dependencies
23+
shell: bash
24+
run: pip install -r requirements_dev.txt
25+
26+
- name: Run ruff
27+
shell: bash
28+
run: ruff instld

.github/workflows/tests_and_coverage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
matrix:
1212
os: [macos-latest, ubuntu-latest, windows-latest]
13-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
13+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
1414

1515
steps:
1616
- uses: actions/checkout@v2
@@ -25,7 +25,7 @@ jobs:
2525

2626
- name: Install the library
2727
shell: bash
28-
run: python setup.py install
28+
run: pip install .
2929

3030
- name: Print all libs
3131
shell: bash

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ test.py
1111
tests/cli/data/chpok
1212
tests/cli/data/pok
1313
.idea
14+
.ruff_cache

.pre-commit-config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# See https://pre-commit.com for more information
2+
# See https://pre-commit.com/hooks.html for more hooks
3+
repos:
4+
- repo: https://github.com/astral-sh/ruff-pre-commit
5+
# Ruff version.
6+
rev: v0.0.290
7+
hooks:
8+
# Run the linter.
9+
- id: ruff
10+
args: [ instld ]

.ruff.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ignore = ['E501', 'E712']

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![logo](https://raw.githubusercontent.com/pomponchik/instld/main/docs/assets/logo5.png)
1+
![logo](https://raw.githubusercontent.com/pomponchik/instld/main/docs/assets/logo_5.png)
22

33
# INSTLD: the simplest package management
44

@@ -8,9 +8,11 @@
88
[![Test-Package](https://github.com/pomponchik/instld/actions/workflows/tests_and_coverage.yml/badge.svg)](https://github.com/pomponchik/instld/actions/workflows/tests_and_coverage.yml)
99
[![Python versions](https://img.shields.io/pypi/pyversions/instld.svg)](https://pypi.python.org/pypi/instld)
1010
[![PyPI version](https://badge.fury.io/py/instld.svg)](https://badge.fury.io/py/instld)
11+
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
1112

1213
Thanks to this package, it is very easy to manage the lifecycle of packages.
1314

15+
- ⚡ Run your code without installing libraries.
1416
- ⚡ You can use 2 different versions of the same library in the same program.
1517
- ⚡ You can use incompatible libraries in the same project, as well as libraries with incompatible/conflicting dependencies.
1618
- ⚡ It's easy to share written scripts. The script file becomes self-sufficient - the user does not need to install the necessary libraries.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)