Browse Source

use .editorconfig

master
j 1 year ago
parent
commit
b4c6f2b4ac
47 changed files with 12 additions and 46 deletions
  1. +12
    -0
      .editorconfig
  2. +0
    -1
      oml/__main__.py
  3. +0
    -1
      oml/api.py
  4. +0
    -1
      oml/changelog.py
  5. +0
    -1
      oml/commands.py
  6. +0
    -1
      oml/downloads.py
  7. +0
    -1
      oml/item/api.py
  8. +0
    -1
      oml/item/handlers.py
  9. +0
    -1
      oml/item/icons.py
  10. +0
    -1
      oml/item/models.py
  11. +0
    -1
      oml/item/person.py
  12. +0
    -1
      oml/item/person_api.py
  13. +0
    -1
      oml/item/query.py
  14. +0
    -1
      oml/item/scan.py
  15. +0
    -1
      oml/item/title_api.py
  16. +0
    -1
      oml/library.py
  17. +0
    -1
      oml/localnodes.py
  18. +0
    -1
      oml/media/__init__.py
  19. +0
    -1
      oml/media/cbr.py
  20. +0
    -1
      oml/media/epub.py
  21. +0
    -1
      oml/media/opf.py
  22. +0
    -1
      oml/media/pdf.py
  23. +0
    -1
      oml/media/txt.py
  24. +0
    -1
      oml/meta/__init__.py
  25. +0
    -1
      oml/meta/duckduckgo.py
  26. +0
    -1
      oml/meta/google.py
  27. +0
    -1
      oml/meta/utils.py
  28. +0
    -1
      oml/node/cert.py
  29. +0
    -1
      oml/node/nodeapi.py
  30. +0
    -1
      oml/node/server.py
  31. +0
    -1
      oml/nodes.py
  32. +0
    -1
      oml/oxtornado.py
  33. +0
    -1
      oml/pdict.py
  34. +0
    -1
      oml/queryparser.py
  35. +0
    -1
      oml/server.py
  36. +0
    -1
      oml/settings.py
  37. +0
    -1
      oml/setup.py
  38. +0
    -1
      oml/ssl_request.py
  39. +0
    -1
      oml/tasks.py
  40. +0
    -1
      oml/tor_request.py
  41. +0
    -1
      oml/ui.py
  42. +0
    -1
      oml/ui_websocket.py
  43. +0
    -1
      oml/update.py
  44. +0
    -1
      oml/user/api.py
  45. +0
    -1
      oml/user/models.py
  46. +0
    -1
      oml/utils.py
  47. +0
    -1
      oml/websocket.py

+ 12
- 0
.editorconfig View File

@@ -0,0 +1,12 @@
[*]
end_of_line = lf
insert_final_newline = true

[*.{js,py,html}]
indent_style = space
indent_size = 4
charset = utf-8

[Makefile]
indent_style = tab


+ 0
- 1
oml/__main__.py View File

@@ -1,6 +1,5 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4

import os
import sys

+ 0
- 1
oml/api.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4


from os.path import normpath, dirname, abspath, join

+ 0
- 1
oml/changelog.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4

import os
from datetime import datetime

+ 0
- 1
oml/commands.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4


from os.path import join, exists, dirname

+ 0
- 1
oml/downloads.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4

import os
from threading import Thread

+ 0
- 1
oml/item/api.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
import json
import hashlib
import os

+ 0
- 1
oml/item/handlers.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4


from datetime import datetime

+ 0
- 1
oml/item/icons.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4

import os
import sqlite3

+ 0
- 1
oml/item/models.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
from datetime import datetime
import base64
import hashlib

+ 0
- 1
oml/item/person.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4


import unicodedata

+ 0
- 1
oml/item/person_api.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
import unicodedata

from oxtornado import actions

+ 0
- 1
oml/item/query.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4


#does not work in sqlite

+ 0
- 1
oml/item/scan.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4


from datetime import datetime

+ 0
- 1
oml/item/title_api.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
import hashlib
import json
import unicodedata

+ 0
- 1
oml/library.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
import json
import os
import time

+ 0
- 1
oml/localnodes.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4

import socket


+ 0
- 1
oml/media/__init__.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4


import base64

+ 0
- 1
oml/media/cbr.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4


import os

+ 0
- 1
oml/media/epub.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4


import os

+ 0
- 1
oml/media/opf.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4


import xml.etree.ElementTree as ET

+ 0
- 1
oml/media/pdf.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4


import sys

+ 0
- 1
oml/media/txt.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4


import os

+ 0
- 1
oml/meta/__init__.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4


import stdnum.isbn

+ 0
- 1
oml/meta/duckduckgo.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4


import ox.web.duckduckgo

+ 0
- 1
oml/meta/google.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4

from time import time, sleep
from urllib.parse import urlencode

+ 0
- 1
oml/meta/utils.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4


import re

+ 0
- 1
oml/node/cert.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4

import hashlib
import os

+ 0
- 1
oml/node/nodeapi.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4


from user.models import User

+ 0
- 1
oml/node/server.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
from socketserver import ThreadingMixIn
from threading import Thread
import base64

+ 0
- 1
oml/nodes.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4


from queue import Queue

+ 0
- 1
oml/oxtornado.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4


from contextlib import contextmanager

+ 0
- 1
oml/pdict.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4

import os
import json

+ 0
- 1
oml/queryparser.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4

from datetime import datetime
import unicodedata

+ 0
- 1
oml/server.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4

import os
import sys

+ 0
- 1
oml/settings.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4

import json
import os

+ 0
- 1
oml/setup.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4

import os


+ 0
- 1
oml/ssl_request.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4

import ssl
import http.client

+ 0
- 1
oml/tasks.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
from queue import PriorityQueue
from threading import Thread
import json

+ 0
- 1
oml/tor_request.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4

import ssl
import http.client

+ 0
- 1
oml/ui.py View File

@@ -1,5 +1,4 @@
# encoding: utf-8
# vi:si:et:sw=4:sts=4:ts=4
import sys
import os
try:

+ 0
- 1
oml/ui_websocket.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
import json



+ 0
- 1
oml/update.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4

from contextlib import closing
import base64

+ 0
- 1
oml/user/api.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4


from copy import deepcopy

+ 0
- 1
oml/user/models.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
from datetime import datetime
import json
import os

+ 0
- 1
oml/utils.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4


from datetime import datetime

+ 0
- 1
oml/websocket.py View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4


from tornado.websocket import WebSocketHandler

Loading…
Cancel
Save