Skip to content

Commit

Permalink
Merge 5f411cc into a236321
Browse files Browse the repository at this point in the history
  • Loading branch information
jacebrowning committed May 21, 2019
2 parents a236321 + 5f411cc commit 35babc0
Show file tree
Hide file tree
Showing 50 changed files with 1,355 additions and 1,067 deletions.
13 changes: 12 additions & 1 deletion .coveragerc
@@ -1,5 +1,16 @@
[run]

branch = true

data_file = .cache/coverage

omit =
*/.venv/*
.venv/*
*/tests/*
*/__main__.py

[report]

exclude_lines =
pragma: no cover
raise NotImplementedError
6 changes: 0 additions & 6 deletions .gitignore
Expand Up @@ -20,7 +20,6 @@ Icon*
/docs/apidocs/
/site/
/*.html
/*.rst
/docs/*.png

# Google Drive
Expand All @@ -30,14 +29,9 @@ Icon*
*.gdraw

# Testing and coverage results
/.pytest/
/.coverage
/.coverage.*
/htmlcov/
/xmlreport/
/pyunit.xml
/tmp/
*.tmp

# Build and release directories
/build/
Expand Down
16 changes: 16 additions & 0 deletions .isort.cfg
@@ -0,0 +1,16 @@
[settings]

not_skip = __init__.py

multi_line_output = 3

known_standard_library = dataclasses,typing_extensions
known_third_party = log
known_first_party = mine

combine_as_imports = true
force_grid_wrap = false
include_trailing_comma = true

lines_after_imports = 2
line_length = 88
7 changes: 7 additions & 0 deletions .mypy.ini
@@ -0,0 +1,7 @@
[mypy]

ignore_missing_imports = true
no_implicit_optional = true
check_untyped_defs = true

cache_dir = .cache/mypy/
8 changes: 0 additions & 8 deletions .pycodestyle.ini

This file was deleted.

81 changes: 79 additions & 2 deletions .pylint.ini
Expand Up @@ -50,7 +50,84 @@ confidence=
# --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use"--disable=all --enable=classes
# --disable=W"
disable=print-statement,parameter-unpacking,unpacking-in-except,old-raise-syntax,backtick,long-suffix,old-ne-operator,old-octal-literal,import-star-module-level,raw-checker-failed,bad-inline-option,locally-disabled,locally-enabled,file-ignored,suppressed-message,useless-suppression,deprecated-pragma,apply-builtin,basestring-builtin,buffer-builtin,cmp-builtin,coerce-builtin,execfile-builtin,file-builtin,long-builtin,raw_input-builtin,reduce-builtin,standarderror-builtin,unicode-builtin,xrange-builtin,coerce-method,delslice-method,getslice-method,setslice-method,no-absolute-import,old-division,dict-iter-method,dict-view-method,next-method-called,metaclass-assignment,indexing-exception,raising-string,reload-builtin,oct-method,hex-method,nonzero-method,cmp-method,input-builtin,round-builtin,intern-builtin,unichr-builtin,map-builtin-not-iterating,zip-builtin-not-iterating,range-builtin-not-iterating,filter-builtin-not-iterating,using-cmp-argument,eq-without-hash,div-method,idiv-method,rdiv-method,exception-message-attribute,invalid-str-codec,sys-max-int,bad-python3-import,deprecated-string-function,deprecated-str-translate-call,missing-docstring,invalid-name,too-few-public-methods,fixme,too-many-arguments,too-many-branches,global-statement,too-many-ancestors
disable=
print-statement,
parameter-unpacking,
unpacking-in-except,
old-raise-syntax,
backtick,
long-suffix,
old-ne-operator,
old-octal-literal,
import-star-module-level,
raw-checker-failed,
bad-inline-option,
locally-disabled,
locally-enabled,
file-ignored,
suppressed-message,
useless-suppression,
deprecated-pragma,
apply-builtin,
basestring-builtin,
buffer-builtin,
cmp-builtin,
coerce-builtin,
execfile-builtin,
file-builtin,
long-builtin,
raw_input-builtin,
reduce-builtin,
standarderror-builtin,
unicode-builtin,
xrange-builtin,
coerce-method,
delslice-method,
getslice-method,
setslice-method,
no-absolute-import,
old-division,
dict-iter-method,
dict-view-method,
next-method-called,
metaclass-assignment,
indexing-exception,
raising-string,
reload-builtin,
oct-method,
hex-method,
nonzero-method,
cmp-method,
input-builtin,
round-builtin,
intern-builtin,
unichr-builtin,
map-builtin-not-iterating,
zip-builtin-not-iterating,
range-builtin-not-iterating,
filter-builtin-not-iterating,
using-cmp-argument,
eq-without-hash,
div-method,
idiv-method,
rdiv-method,
exception-message-attribute,
invalid-str-codec,
sys-max-int,
bad-python3-import,
deprecated-string-function,
deprecated-str-translate-call,
missing-docstring,
invalid-name,
too-few-public-methods,
fixme,
too-many-arguments,
too-many-branches,
unpacking-non-sequence,
too-many-ancestors,
global-statement,
line-too-long,
bad-continuation,

# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
Expand Down Expand Up @@ -194,7 +271,7 @@ indent-after-paren=4
indent-string=' '

# Maximum number of characters on a single line.
max-line-length=100
max-line-length=88

# Maximum number of lines in a module
max-module-lines=1000
Expand Down
1 change: 1 addition & 0 deletions .scrutinizer.yml
Expand Up @@ -2,6 +2,7 @@ build:
tests:
override:
- pylint-run --rcfile=.pylint.ini
- py-scrutinizer-run
checks:
python:
code_rating: true
Expand Down
7 changes: 5 additions & 2 deletions .travis.yml
@@ -1,18 +1,21 @@
dist: xenial
language: python
python:
- 3.6
- 3.7

cache:
pip: true
directories:
- .venv
- ${VIRTUAL_ENV}

env:
global:
- RANDOM_SEED=0

before_install:
- pip install pipenv==8.2.7
- curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python
- source $HOME/.poetry/env
- make doctor

install:
Expand Down
19 changes: 6 additions & 13 deletions .verchew.ini
Expand Up @@ -6,24 +6,17 @@ version = GNU Make
[Python]

cli = python
version = Python 3.6.
version = Python 3.6

[pipenv]
[Poetry]

cli = pipenv
version = 8.2.7

[pandoc]

cli = pandoc
version = 1.
option = true
message = This is only needed to generate the README for PyPI
cli = poetry
version = 0.12

[Graphviz]

cli = dot
cli_version_arg = -V
version = 2.
version = 2
optional = true
message = This is only needed to generate UML diagrams for documentation
message = This is only needed to generate UML diagrams for documentation.
40 changes: 21 additions & 19 deletions CHANGELOG.md
@@ -1,78 +1,80 @@
# Revision History
# 1.6 (2019-05-20)

## 1.5 (2017/10/22)
- Ignored conflicting program name ("garcon.appex").

# 1.5 (2017-10-22)

- Ignored conflicting program name ("slack helper.app").

## 1.4 (2017/04/18)
# 1.4 (2017-04-18)

- Added color to display the state of running applications.
- Dropped support for Python 3.3, 3.4, and 3.5.

## 1.3 (2017/03/13)
# 1.3 (2017-03-13)

- Ignored conflicting program name ("iTunes Helper.app").

## 1.2 (2017/02/13)
# 1.2 (2017-02-13)

- Restart Dropbox automatically.

## 1.1 (2017/01/07)
# 1.1 (2017-01-07)

- Updated `switch` to close all locally running applications.

## 1.0 (2016/11/01)
# 1.0 (2016-11-01)

- Initial stable release.

## 0.6.1 (2016/09/23)
# 0.6.1 (2016-09-23)

- Added a delay to ensure all applications close.
- Fixed cleanup of unused applications and computers.

## 0.6 (2016/07/02)
# 0.6 (2016-07-02)

- Added a `close` command to close all locally running applications.

## 0.5 (2016/05/16)
# 0.5 (2016-05-16)

- Added periodic checking to the daemon (regardless of file changes).

## 0.4.3 (2016/05/11)
# 0.4.3 (2016-05-11)

- Fixed `__init__` warnings with YORM v0.8.1.

## 0.4.2 (2016/03/30)
# 0.4.2 (2016-03-30)

- Updated to YORM v0.7.2.

## 0.4.1 (2016/02/23)
# 0.4.1 (2016-02-23)

- Updated to YORM v0.6.

## 0.4 (2015/12/30)
# 0.4 (2015-12-30)

- Added file watching to update program state faster.

## 0.3 (2015/11/14)
# 0.3 (2015-11-14)

- Added automatic daemon restart using `nohup`.
- Moved `queued` to setting `properties.single_instance`.
- Added `properties.auto_queue` to filter active applications.

## 0.2.1 (2015/09/05)
# 0.2.1 (2015-09-05)

- Fixed daemon warning to run using `nohup`

## 0.2 (2015/08/27)
# 0.2 (2015-08-27)

- Added `--daemon` option to run continuously.
- Added `edit` command to launch the settings file.

## 0.1.2 (2015/05/17)
# 0.1.2 (2015-05-17)

- Updated to YORM v0.4.

## 0.1.1 (2015/03/19)
# 0.1.1 (2015-03-19)

- Initial release.

0 comments on commit 35babc0

Please sign in to comment.