Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3.0.0: Data structure and customization updates #23

Open
wants to merge 24 commits into
base: main
Choose a base branch
from
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
50 changes: 11 additions & 39 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,16 @@
name: Pylint

on: [push]
on: [push, pull_request]

jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pylint
- name: Analysing the code with pylint
run: |
pylint --enable-all-extensions --extension-pkg-allow-list=orjson,ujson --disable=R,C,W $(git ls-files '*.py')
linux-standard:
name: "Linux (Standard)"
uses: ./.github/workflows/pylint_standard.yml
with:
os: ubuntu-latest

build-windows:
runs-on: windows-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pylint
- name: Analysing the code with pylint
run: |
pylint --enable-all-extensions --extension-pkg-allow-list=orjson,ujson --disable=R,C,W $(git ls-files '*.py')
windows-standard:
name: "Windows (Standard)"
uses: ./.github/workflows/pylint_standard.yml
with:
os: windows-latest
31 changes: 31 additions & 0 deletions .github/workflows/pylint_standard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Pylint

on:
workflow_call:
inputs:
os:
type: string
description: "The operating system to run the workflow on."
default: ubuntu-latest

jobs:
build-linux:
name: "Standard"
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9","3.10","3.11","3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pylint
- name: Pylint analysis
run: |
pylint --enable-all-extensions --extension-pkg-allow-list=orjson,ujson --disable=R,C,W $(git ls-files '*.py')
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<h1 align=center>
<img width=64 src=https://github.com/UnifierHQ/unifier-micro/assets/41323182/16f7ca32-bc5a-47d2-89ae-50ebef8ef70d>
<img width=64 src=https://github.com/user-attachments/assets/7b4609ec-476e-44bd-92b9-1d284e1a47e7>

Unifier Micro</h1>

Expand All @@ -22,7 +22,7 @@ speed, as well as limits the bot to support Discord only.

## Who should use this?
Unifier Micro is built for small communities just wanting to give Unifier a spin, or communities with very limited
resources to run Unifier. For communities of scale with decent resources, we recommend using the [full-scale
resources to run Unifier. For larger communities than have decent resources, we recommend using the [full-scale
version](https://github.com/UnifierHQ/unifier) instead.

## Features
Expand Down
Loading