bartste / khalorg Goto Github PK
View Code? Open in Web Editor NEWAn interface between org mode and khal cli calendar
Home Page: https://pypi.org/project/khalorg/
License: MIT License
An interface between org mode and khal cli calendar
Home Page: https://pypi.org/project/khalorg/
License: MIT License
Got the following error when running in a workflow:
______________________ TestCalendar.test_datetime_format _______________________
237 tests/test_khal/helpers.py:12: in setUp
238 self.calendar = Calendar('test_calendar')
239 src/khalorg/khal/calendar.py:95: in __init__
240 self.config: dict = get_config(path_config)
241 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
242
243 config_path = None
244 _get_color_from_vdir = <function get_color_from_vdir at 0x7f23a14f0d30>
245 _get_vdir_type = <function get_vdir_type at 0x7f23a14f0ee0>
246
247 def get_config(
248 config_path: Optional[str]=None,
249 _get_color_from_vdir: Callable=get_color_from_vdir,
250 _get_vdir_type: Callable=get_vdir_type) -> ConfigObj:
251 """reads the config file, validates it and return a config dict
252
253 :param config_path: path to a custom config file, if none is given the
254 default locations will be searched
255 :param _get_color_from_vdir: override get_color_from_vdir for testing purposes
256 :param _get_vdir_type: override get_vdir_type for testing purposes
257 :returns: configuration
258 """
259 if config_path is None:
260 config_path = find_configuration_file()
261 if config_path is None or not os.path.exists(config_path):
262 > raise NoConfigFile()
263 E khal.settings.exceptions.NoConfigFile
264
265 .venv/lib/python3.10/site-packages/khal/settings/settings.py:102: NoConfigFile
Create a khal config that is used for the test only.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.