Skip to content

Commit

Permalink
Merge pull request #22 from rgmining/type_hints
Browse files Browse the repository at this point in the history
Add type annotation
  • Loading branch information
jkawamoto authored Jan 15, 2023
2 parents 5dd9791 + c2fc344 commit 0f76cf4
Show file tree
Hide file tree
Showing 16 changed files with 506 additions and 428 deletions.
32 changes: 17 additions & 15 deletions fraud_eagle/__init__.py
Original file line number Diff line number Diff line change
@@ -1,29 +1,31 @@
#
# __init__.py
# __init__.py
#
# Copyright (c) 2016-2017 Junpei Kawamoto
# Copyright (c) 2016-2023 Junpei Kawamoto
#
# This file is part of rgmining-fraud-eagle.
# This file is part of rgmining-fraud-eagle.
#
# rgmining-fraud-eagle is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# rgmining-fraud-eagle is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# rgmining-fraud-eagle is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with rgmining-fraud-eagle. If not, see <http://www.gnu.org/licenses/>.
# rgmining-fraud-eagle is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with rgmining-fraud-eagle. If not, see <http://www.gnu.org/licenses/>.
"""An implementation of Fraud Eagle algorithm.
This algorithm has been introduced by Leman Akoglu, *et al.* in `ICWSM 2013`_.
.. _ICWSM 2013: https://www.aaai.org/ocs/index.php/ICWSM/ICWSM13/paper/viewFile/5981/6338
"""
from __future__ import absolute_import
from typing import Final

from fraud_eagle.graph import ReviewGraph

__all__: Final = ("ReviewGraph",)
40 changes: 0 additions & 40 deletions fraud_eagle/constants.py

This file was deleted.

Loading

0 comments on commit 0f76cf4

Please sign in to comment.