Browse Source

Bit of cleanup

pull/159/head
squeaky otter 2 years ago
parent
commit
86a4521139
Signed by: dashie GPG Key ID: C2D57B325840B755
  1. 9
      .coveragerc
  2. 3
      .isort.cfg
  3. 17
      TODO.md
  4. 14
      setup.cfg

9
.coveragerc

@ -1,9 +0,0 @@
[run]
omit =
tests/*
.eggs/*
config.py
configtest.py
**/*__init__.py
venv/*
front/*

3
.isort.cfg

@ -1,3 +0,0 @@
[settings]
line_length=120
force_single_line=false

17
TODO.md

@ -9,24 +9,14 @@
- Some basic statistics of files
- Played from player, downloads (transcode, orig)
- Album
- switch song duration stay sometimes
- Emails notifications (register, password changed, track ready)
- Slugs: BEFORE, and UNIQUE; Some things weird on that side IIRC
- Better handle transcoding and waveform generation for FLAC and OGG (audiowaveform should use the transcoded mp3 file)
- to check, might be already done...
# Design
- Needs improvements
# Low priority:
- SQL optimization
- Check for sentry in:
- waitress (web)
- celery (workers)
@ -44,10 +34,3 @@
- deleted sound : test / fix handle correctly, tombstone thing
- Accessing a deleted object/activity should return a Tombstone
- /users/xxx/followings is broken and show xxx instead of followings
- this is due being to user.actor[0].followers returns the real followers as .actor (.target == xxx)
- and user.actor[0].followings returns the real followings as .target (.actor == xxx)
- and that build_ordered_collection(list, actor, page) only use .actor because that's how it should work
- for now there is a switch_side=True/False ugly fix

14
setup.cfg

@ -9,3 +9,17 @@ python_files = tests/*.py
max-line-length = 120
ignore = E501,W504,W503
exclude = .svn,CVS,.bzr,.hg,.git,__pycache__,.tox,venv,.eggs
[coverage:run]
omit =
tests/*
.eggs/*
config.py
configtest.py
**/*__init__.py
venv/*
front/*
[isort]
line_length=120
force_single_line=false
Loading…
Cancel
Save