Clean up
This commit is contained in:
parent
9cb38c4ca8
commit
8dd94b6ac8
4 changed files with 14 additions and 14 deletions
2
LICENSE
2
LICENSE
|
|
@ -1,6 +1,6 @@
|
||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2018 Garmelon
|
Copyright (c) 2018 - 2019 Garmelon
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|
|
||||||
12
todo.txt
Normal file
12
todo.txt
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
TODO
|
||||||
|
- config file support for bots, used by default
|
||||||
|
- package in a distutils-compatible way (users should be able to install yaboli
|
||||||
|
using "pip install git+https://github.com/Garmelon/yaboli")
|
||||||
|
- cookie support
|
||||||
|
- fancy argument parsing
|
||||||
|
- document new classes (docstrings, maybe comments)
|
||||||
|
- document yaboli (markdown files in a "docs" folder?)
|
||||||
|
- write project readme
|
||||||
|
- write examples
|
||||||
|
|
||||||
|
DONE
|
||||||
|
|
@ -94,7 +94,7 @@ class ArgumentData:
|
||||||
return text.split()
|
return text.split()
|
||||||
|
|
||||||
def _parse_fancy(self, args: List[str]) -> FancyArgs:
|
def _parse_fancy(self, args: List[str]) -> FancyArgs:
|
||||||
raise NotImplementedError
|
raise NotImplementedError # TODO
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def argstr(self) -> str:
|
def argstr(self) -> str:
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,6 @@ __all__ = [
|
||||||
# Doing stuff in a room
|
# Doing stuff in a room
|
||||||
"RoomNotConnectedException",
|
"RoomNotConnectedException",
|
||||||
"EuphError",
|
"EuphError",
|
||||||
"RoomClosedException",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
class EuphException(Exception):
|
class EuphException(Exception):
|
||||||
|
|
@ -66,14 +65,3 @@ class EuphError(EuphException):
|
||||||
The euphoria server has sent back an "error" field in its response.
|
The euphoria server has sent back an "error" field in its response.
|
||||||
"""
|
"""
|
||||||
pass
|
pass
|
||||||
|
|
||||||
# TODO This exception is not used currently, decide on whether to keep it or
|
|
||||||
# throw it away
|
|
||||||
class RoomClosedException(EuphException):
|
|
||||||
"""
|
|
||||||
The room has been closed already.
|
|
||||||
|
|
||||||
This means that phase 4 (see the docstring of Room) has been initiated or
|
|
||||||
completed.
|
|
||||||
"""
|
|
||||||
pass
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue