-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
89 changed files
with
3,753 additions
and
2,309 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,8 +22,8 @@ jobs: | |
pipenv install --python "${{ matrix.python-version }}" --dev --system --skip-lock | ||
- name: Lint with Mypy | ||
run: mypy crowdkit tests | ||
- name: Lint with flake8 | ||
run: flake8 | ||
- name: Pre-Commit Check | ||
uses: pre-commit/[email protected] | ||
- name: Test with pytest | ||
run: coverage run --source crowdkit -m pytest | ||
- name: Codecov | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[settings] | ||
profile=black | ||
src_paths=crowdkit,tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v3.2.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- id: check-yaml | ||
- id: check-added-large-files | ||
- repo: https://github.com/psf/black | ||
rev: 23.3.0 | ||
hooks: | ||
- id: black | ||
- repo: https://github.com/pycqa/isort | ||
rev: 5.12.0 | ||
hooks: | ||
- id: isort | ||
- repo: https://github.com/pycqa/flake8 | ||
rev: 6.0.0 | ||
hooks: | ||
- id: flake8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
from typing import List | ||
|
||
__version__ = '1.2.1' | ||
__version__ = "1.2.1" | ||
|
||
__all__: List[str] = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
__all__ = [ | ||
'DawidSkene', | ||
'GLAD', | ||
'GoldMajorityVote', | ||
'KOS', | ||
'MACE', | ||
'MajorityVote', | ||
'MMSR', | ||
'OneCoinDawidSkene', | ||
'Wawa', | ||
'ZeroBasedSkill', | ||
"DawidSkene", | ||
"GLAD", | ||
"GoldMajorityVote", | ||
"KOS", | ||
"MACE", | ||
"MajorityVote", | ||
"MMSR", | ||
"OneCoinDawidSkene", | ||
"Wawa", | ||
"ZeroBasedSkill", | ||
] | ||
|
||
from .dawid_skene import DawidSkene, OneCoinDawidSkene | ||
from .glad import GLAD | ||
from .gold_majority_vote import GoldMajorityVote | ||
from .kos import KOS | ||
from .m_msr import MMSR | ||
from .mace import MACE | ||
from .majority_vote import MajorityVote | ||
from .m_msr import MMSR | ||
from .wawa import Wawa | ||
from .zero_based_skill import ZeroBasedSkill |
Oops, something went wrong.