Skip to content
This repository was archived by the owner on Apr 25, 2023. It is now read-only.

Commit a3dba29

Browse files
authored
Merge pull request #7 from I-Language-Development/dev
[UPDATE] Update to v0.0.8
2 parents c661311 + d0a6451 commit a3dba29

37 files changed

+2269
-188
lines changed

.github/auto-assign.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Set to true to add reviewers to PRs
2+
addReviewers: true
3+
4+
# Set to 'author' to add PR's author as a assignee
5+
addAssignees: author
6+
7+
# A list of reviewers to be added to PRs (GitHub user name)
8+
reviewers:
9+
- ElBe-Plaq
10+
11+
# A number of reviewers added to the PR
12+
# Set 0 to add all the reviewers (default: 0)
13+
numberOfReviewers: 1
14+
15+
# A list of assignees, overrides reviewers if set
16+
assignees:
17+
- ElBe-Plaq
18+
19+
# A number of assignees to add to the PRs
20+
# Set to 0 to add all of the assignees.
21+
# Uses numberOfReviewers if unset.
22+
numberOfAssignees: 0
23+
24+
# A list of keywords to be skipped the process if PR's title include it
25+
skipKeywords:
26+
- wip

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "pip" # See documentation for possible values
9+
directory: "/" # Location of package manifests
10+
schedule:
11+
interval: "daily"

.github/labler.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
docs:
2+
- Docs

.github/workflows/auto-assign.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Auto Assign
2+
on:
3+
issues:
4+
types: [opened]
5+
pull_request:
6+
types: [opened]
7+
jobs:
8+
run:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: wow-actions/auto-assign@v1
12+
with:
13+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14+
CONFIG_FILE: .github/auto-assign.yml

.github/workflows/bandit.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,10 @@
1313
name: Bandit
1414
on:
1515
push:
16-
branches: [ "main" ]
16+
branches: ["main", "dev"]
1717
pull_request:
1818
# The branches below must be a subset of the branches above
19-
branches: [ "main" ]
20-
schedule:
21-
- cron: '24 4 * * 6'
19+
branches: ["main", "dev"]
2220

2321
jobs:
2422
bandit:
@@ -29,7 +27,7 @@ jobs:
2927

3028
runs-on: ubuntu-latest
3129
steps:
32-
- uses: actions/checkout@v2
30+
- uses: actions/checkout@v3
3331
- name: Bandit Scan
3432
uses: shundor/python-bandit-scan@9cc5aa4a006482b8a7f91134412df6772dbda22c
3533
with: # optional arguments

.github/workflows/codeql.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,14 @@
99
# the `language` matrix defined below to confirm you have the correct set of
1010
# supported CodeQL languages.
1111
#
12-
name: "CodeQL"
12+
name: CodeQL
1313

1414
on:
1515
push:
16-
branches: [ "main" ]
16+
branches: ["main", "dev"]
1717
pull_request:
1818
# The branches below must be a subset of the branches above
19-
branches: [ "main" ]
20-
schedule:
21-
- cron: '37 22 * * 2'
19+
branches: ["main", "dev"]
2220

2321
jobs:
2422
analyze:

.github/workflows/pylint.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Pylint
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
11+
steps:
12+
- uses: actions/checkout@v3
13+
- name: Set up Python ${{ matrix.python-version }}
14+
uses: actions/setup-python@v3
15+
with:
16+
python-version: ${{ matrix.python-version }}
17+
- name: Install dependencies
18+
run: |
19+
python -m pip install --upgrade pip
20+
pip install pylint
21+
- name: Analysing the code with pylint
22+
run: |
23+
pylint $(git ls-files '*.py')

.github/workflows/pytest.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Pytest
2+
3+
on:
4+
push:
5+
branches: ["main", "dev"]
6+
pull_request:
7+
branches: ["main", "dev"]
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
18+
steps:
19+
- uses: actions/checkout@v3
20+
- name: Set up Python ${{ matrix.python-version }}
21+
uses: actions/setup-python@v3
22+
with:
23+
python-version: ${{ matrix.python-version }}
24+
- name: Install dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
pip install -r dev-requirements.txt
28+
- name: Test with pytest
29+
run: |
30+
pytest

.github/workflows/ruff.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Ruff
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
11+
steps:
12+
- uses: actions/checkout@v3
13+
- name: Set up Python ${{ matrix.python-version }}
14+
uses: actions/setup-python@v3
15+
with:
16+
python-version: ${{ matrix.python-version }}
17+
- name: Install dependencies
18+
run: |
19+
python -m pip install --upgrade pip
20+
pip install ruff
21+
- name: Analysing the code with ruff
22+
run: |
23+
ruff check --exit-zero .

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,3 +127,10 @@ dmypy.json
127127

128128
# Pyre type checker
129129
.pyre/
130+
131+
# Custom
132+
.idea/
133+
.git/
134+
dist/
135+
*.zip
136+
.ruff_cache/

0 commit comments

Comments
 (0)