Skip to content

Commit

Permalink
Clean up unused code and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
David-Wobrock committed May 12, 2019
1 parent f51daab commit 3b2b2f9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
4 changes: 0 additions & 4 deletions django_migration_linter/management/commands/lintmigrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ def add_arguments(self, parser):
help="ignore migrations that are in the specified django apps",
)

# args = parser.parse_args()

# folder_name = args.django_folder[0]

def handle(self, *args, **options):
settings_path = os.path.dirname(
import_module(os.getenv("DJANGO_SETTINGS_MODULE")).__file__
Expand Down
8 changes: 0 additions & 8 deletions tests/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import os

_PROJ_TEST_DIR = os.path.join(
os.path.dirname(os.path.dirname(os.path.abspath(__file__))),
"tests/",
"test_project",
)

CREATE_TABLE_WITH_NOT_NULL_COLUMN = "app_create_table_with_not_null_column"
ADD_NOT_NULL_COLUMN = "app_add_not_null_column"
DROP_COLUMN = "app_drop_column"
Expand Down

0 comments on commit 3b2b2f9

Please sign in to comment.