Skip to content

Commit

Permalink
update imports (#30)
Browse files Browse the repository at this point in the history
* update imports

remove invalid license header, boilerplate copy paste from ancient times

I'm the original author, in case of doubt the GPL license in header does not apply

* Update skill.json

---------

Co-authored-by: JarbasAl <JarbasAl@users.noreply.github.com>
  • Loading branch information
JarbasAl and JarbasAl authored Jan 13, 2024
1 parent 1a135e6 commit 1e510d0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 25 deletions.
27 changes: 2 additions & 25 deletions __init__.py
Original file line number Diff line number Diff line change
@@ -1,40 +1,17 @@
# pylint: disable=unused-import,missing-docstring,invalid-name
# Copyright 2016 Mycroft AI, Inc.
#
# This file is part of Mycroft Core.
#
# Mycroft Core 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.
#
# Mycroft Core 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 Mycroft Core. If not, see <http://www.gnu.org/licenses/>.

import random
from os import listdir
from os.path import dirname

from ovos_utils.intents import IntentBuilder
from mycroft import intent_handler
from ovos_workshop.decorators import skill_api_method
from ovos_workshop.intents import IntentBuilder
from ovos_workshop.decorators import skill_api_method, intent_handler
from ovos_workshop.skills import OVOSSkill

from .stardate import StarDate
from .constants import SPICY_SOUNDS

__author__ = "jarbas"


class EasterEggsSkill(OVOSSkill):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)

@property
def grandma_mode(self):
return self.settings.get("grandma_mode_enabled", True)
Expand Down
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
python-dateutil
ovos-utils~=0.0, >=0.0.38
ovos_workshop~=0.0, >=0.0.15
2 changes: 2 additions & 0 deletions skill.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
"systemDeps": false,
"requirements": {
"python": [
"ovos-utils~=0.0, >=0.0.38",
"ovos_workshop~=0.0, >=0.0.15",
"python-dateutil"
],
"system": {},
Expand Down

0 comments on commit 1e510d0

Please sign in to comment.