Skip to content

Commit

Permalink
migrate rest of the code from gitlab (#4)
Browse files Browse the repository at this point in the history
Co-authored-by: Mustafa Kerem Kurban <[email protected]>
  • Loading branch information
KeremKurban and Mustafa Kerem Kurban authored Nov 4, 2024
1 parent 7f40d77 commit bc935b1
Show file tree
Hide file tree
Showing 64 changed files with 7,623 additions and 37 deletions.
8 changes: 8 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[run]
branch = True
source = src

[report]
omit =
*/tests/*
*/__init__.py
22 changes: 22 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[flake8]
docstring-convention = numpy
max-line-length = 88
ignore =
# slice notation whitespace, invalid
E203
# import at top, too many circular import fixes
E402
# line length, handled by bugbear B950
E501
# bare except, handled by bugbear B001
E722
# bin op line break, invalid
W503
# section name should end with a newline
D406


per-file-ignores =
app/app_tests/*:D
tests/*:D
app/main.py:D301
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Set up python
uses: actions/setup-python@v2
with:
python-version: "3.10"
python-version: "3.12"
- name: Set up pip cache
uses: actions/cache@v2
with:
Expand All @@ -30,7 +30,7 @@ jobs:
- name: Set up environment
run: |
pip install --upgrade pip wheel setuptools
pip install black==24.4.2 flake8==6.0.0 flake8-builtins==2.1.0 flake8-bugbear==22.10.27 flake8-comprehensions==3.10.1 flake8-docstrings==1.6.0 toml-sort==0.23.1 isort==5.12.0 mypy
pip install black==24.4.2 flake8==7.1.1 flake8-builtins==2.1.0 flake8-bugbear==22.10.27 flake8-comprehensions==3.10.1 flake8-docstrings==1.6.0 toml-sort==0.23.1 isort==5.12.0 mypy types-requests types-aiofiles types-PyYAML
- name: Linting check
run: |
black -l 120 --check src/
Expand Down
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Changelog

## [Unreleased]

### Added

- Migrated the rest of the citation graph code from gitlab

### Modified

- **Configuration**
- `pyproject.toml`: Updated project configuration.

- **Schemas**
- `src/citations/schemas.py`: Updated schema definitions.
Loading

0 comments on commit bc935b1

Please sign in to comment.