Skip to content

Commit

Permalink
Style fixes;
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Hofkens committed Apr 3, 2020
1 parent 214a558 commit 2caf331
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ clean-test: ## remove test and coverage artifacts
lint: ## check style and typing
pipenv run flake8 genart tests setup.py
pipenv run black --check --diff genart tests setup.py
pipenv run isort --recursive --check-only .
pipenv run isort --recursive --check-only genart tests setup.py
pipenv run mypy genart

test: ## run tests quickly with the default Python
Expand Down
20 changes: 10 additions & 10 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions genart/bubblechamber/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import logging

import cairo

from genart.fps import FPSCounter
from genart.util import parse_size

Expand Down
1 change: 1 addition & 0 deletions genart/wael/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import logging

import cairo

from genart.util import parse_size

from . import generator, models
Expand Down
1 change: 1 addition & 0 deletions genart/wael/circlepacker.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from typing import List, Optional

import numpy as np

from genart.fps import FPSCounter
from genart.geom import distance

Expand Down
2 changes: 1 addition & 1 deletion genart/wael/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
from dataclasses import dataclass
from typing import Optional

import cairo
import numpy as np

import cairo
from genart import color
from genart.cairo_util import operator, rotation, source, translation
from genart.geom import circle_from_3_points
Expand Down
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,5 @@
install_requires=[],
test_suite="tests",
tests_require=["tox"],
entry_points={
"console_scripts": ["genart=genart.main:main"],
},
entry_points={"console_scripts": ["genart=genart.main:main"]},
)
1 change: 1 addition & 0 deletions tests/unit/test_circlepacker.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import random

import numpy as np

from genart.wael.circlepacker import Circle, grow_circle, new_circle, pack


Expand Down

0 comments on commit 2caf331

Please sign in to comment.