Skip to content

Commit

Permalink
Add a brief docstring.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Sep 8, 2024
1 parent c006db4 commit 91645cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jaraco/abode/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

class PlatformDirs(platformdirs.PlatformDirs): # type: ignore[misc, valid-type] # platformdirs/platformdirs#295
"""
Augment PlatformDirs to ensure the data path exists.
>>> dirs = PlatformDirs(appname='Abode', appauthor=False)
>>> alt_udp = getfixture('tmp_path') / 'data' / 'dir'
>>> vars(dirs).update(user_data_path=alt_udp)
Expand Down

0 comments on commit 91645cf

Please sign in to comment.