Skip to content

Commit

Permalink
Add more stuff to .gitignore
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: facebookresearch#44

Differential Revision: D15173199

Pulled By: lerks

fbshipit-source-id: f59c25da025b20015419444a2bc6c917c8b43301
  • Loading branch information
lw authored and facebook-github-bot committed May 1, 2019
1 parent 8a3cff8 commit 42e4963
Show file tree
Hide file tree
Showing 46 changed files with 54 additions and 49 deletions.
11 changes: 8 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@
build/
data/
dist/
docs/build/
.DS_Store
*.egg
*.egg-info/
.idea/
model/
*.pyc
**/__pycache__/
torchbiggraph.egg-info/
__pycache__/
*.py[cod]
*.so
venv/
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ formatter are sometimes adopted.
## License

By contributing to torchbiggraph, you agree that your contributions will be
licensed under the LICENSE file in the root directory of this source tree.
licensed under the LICENSE.txt file in the root directory of this source tree.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,4 +170,4 @@ To cite this work please use:

## License

PyTorch-BigGraph is BSD licensed, as found in the [LICENSE](LICENSE) file.
PyTorch-BigGraph is BSD licensed, as found in the [LICENSE.txt](LICENSE.txt) file.
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Include license in the wheel distribution.
[metadata]
license_files =
LICENSE
torchbiggraph/examples/LICENSE
LICENSE.txt
torchbiggraph/examples/LICENSE.txt
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

from setuptools import find_packages, setup

Expand Down
2 changes: 1 addition & 1 deletion test/test_batching.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

from collections import defaultdict
from itertools import zip_longest
Expand Down
2 changes: 1 addition & 1 deletion test/test_bucket_scheduling.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

import random
from itertools import product
Expand Down
2 changes: 1 addition & 1 deletion test/test_distributed.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

from unittest import TestCase, main

Expand Down
2 changes: 1 addition & 1 deletion test/test_edgelist.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

from unittest import TestCase, main

Expand Down
2 changes: 1 addition & 1 deletion test/test_entitylist.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

from typing import Sequence
from unittest import TestCase, main
Expand Down
2 changes: 1 addition & 1 deletion test/test_fileio.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

import io
import json
Expand Down
2 changes: 1 addition & 1 deletion test/test_functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

import json
import logging
Expand Down
2 changes: 1 addition & 1 deletion test/test_losses.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

# In order to keep values visually aligned in matrix form we use double spaces
# and exceed line length. Tell flake8 to tolerate that. Ideally we'd want to
Expand Down
2 changes: 1 addition & 1 deletion test/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

# In order to keep values visually aligned in matrix form we use double spaces
# and exceed line length. Tell flake8 to tolerate that. Ideally we'd want to
Expand Down
2 changes: 1 addition & 1 deletion test/test_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

from enum import Enum
from typing import ClassVar, Dict, List, Optional, Union
Expand Down
2 changes: 1 addition & 1 deletion test/test_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

from unittest import TestCase, main

Expand Down
2 changes: 1 addition & 1 deletion test/test_train.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

from itertools import product
from unittest import TestCase, main
Expand Down
2 changes: 1 addition & 1 deletion test/test_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

from unittest import TestCase, main

Expand Down
2 changes: 1 addition & 1 deletion torch_extensions/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.
2 changes: 1 addition & 1 deletion torchbiggraph/batching.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

import time
from abc import ABC, abstractmethod
Expand Down
2 changes: 1 addition & 1 deletion torchbiggraph/bucket_scheduling.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

import random
from abc import ABC, abstractmethod
Expand Down
2 changes: 1 addition & 1 deletion torchbiggraph/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

import argparse
import importlib.util
Expand Down
2 changes: 1 addition & 1 deletion torchbiggraph/converters/dictionary.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

from typing import Dict, List, Tuple

Expand Down
2 changes: 1 addition & 1 deletion torchbiggraph/converters/export_to_tsv.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

import argparse
import json
Expand Down
2 changes: 1 addition & 1 deletion torchbiggraph/converters/import_from_tsv.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

import argparse
import json
Expand Down
2 changes: 1 addition & 1 deletion torchbiggraph/converters/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

import gzip
import os
Expand Down
2 changes: 1 addition & 1 deletion torchbiggraph/distributed.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

from abc import ABC, abstractmethod
from datetime import timedelta
Expand Down
2 changes: 1 addition & 1 deletion torchbiggraph/edgelist.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

from typing import Any, Sequence, Union

Expand Down
2 changes: 1 addition & 1 deletion torchbiggraph/entitylist.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

from typing import Any, Sequence, Union

Expand Down
2 changes: 1 addition & 1 deletion torchbiggraph/eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

import argparse
import time
Expand Down
2 changes: 1 addition & 1 deletion torchbiggraph/examples/configs/fb15k_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

entity_base = "data/FB15k"

Expand Down
2 changes: 1 addition & 1 deletion torchbiggraph/examples/configs/livejournal_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

entities_base = 'data/livejournal'

Expand Down
2 changes: 1 addition & 1 deletion torchbiggraph/examples/fb15k.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

import argparse
import os
Expand Down
2 changes: 1 addition & 1 deletion torchbiggraph/examples/livejournal.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

import argparse
import os
Expand Down
2 changes: 1 addition & 1 deletion torchbiggraph/fileio.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

import errno
import io
Expand Down
2 changes: 1 addition & 1 deletion torchbiggraph/filtered_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

from collections import defaultdict
from typing import Dict, List, Tuple
Expand Down
2 changes: 1 addition & 1 deletion torchbiggraph/losses.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

from abc import ABC, abstractmethod

Expand Down
2 changes: 1 addition & 1 deletion torchbiggraph/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

import os.path
from abc import ABC, abstractmethod
Expand Down
2 changes: 1 addition & 1 deletion torchbiggraph/parameter_sharing.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

import queue
import time
Expand Down
2 changes: 1 addition & 1 deletion torchbiggraph/partitionserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

import argparse
from itertools import chain
Expand Down
2 changes: 1 addition & 1 deletion torchbiggraph/row_adagrad.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

from torch.optim import Optimizer

Expand Down
2 changes: 1 addition & 1 deletion torchbiggraph/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

from abc import ABC, abstractmethod
from enum import Enum
Expand Down
2 changes: 1 addition & 1 deletion torchbiggraph/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

from collections import defaultdict
from statistics import mean
Expand Down
2 changes: 1 addition & 1 deletion torchbiggraph/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
# LICENSE.txt file in the root directory of this source tree.

import argparse
import os.path
Expand Down
Loading

0 comments on commit 42e4963

Please sign in to comment.